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 = {}) ⇒ Object



223
224
225
# File 'lib/prefab/logger_client.rb', line 223

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