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



146
147
148
# File 'lib/prefab/logger_client.rb', line 146

def get(key, default=nil)
  ENV["PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL"] || default
end