Class: Prefab::BootstrappingConfigClient

Inherits:
Object
  • Object
show all
Defined in:
lib/prefab/logger_client.rb

Overview

StubConfigClient to be used while config client initializes since it may log

Instance Method Summary collapse

Instance Method Details

#get(_key, default = nil, _properties = {}, _lookup_key = nil) ⇒ Object



180
181
182
# File 'lib/prefab/logger_client.rb', line 180

def get(_key, default = nil, _properties = {}, _lookup_key = nil)
  ENV['PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL'] ? ENV['PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL'].upcase.to_sym : default
end