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) ⇒ Object



168
169
170
# File 'lib/prefab/logger_client.rb', line 168

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