Class: Prefab::BootstrappingConfigClient
- Inherits:
-
Object
- Object
- Prefab::BootstrappingConfigClient
- 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
156 157 158 |
# File 'lib/prefab/logger_client.rb', line 156 def get(key, default = nil) ENV["PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL"] ? Prefab::LogLevel.resolve(ENV["PREFAB_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL"].upcase.to_sym) : default end |