Module: SettingsReader::VaultResolver::Logging
- Included in:
- Engines::Abstract, Instance, Refresher
- Defined in:
- lib/settings_reader/vault_resolver/logging.rb
Overview
Methods for centralized logging
Instance Method Summary collapse
Instance Method Details
#debug(&block) ⇒ Object
5 6 7 |
# File 'lib/settings_reader/vault_resolver/logging.rb', line 5 def debug(&block) (Logger::DEBUG, &block) end |
#error(&block) ⇒ Object
17 18 19 |
# File 'lib/settings_reader/vault_resolver/logging.rb', line 17 def error(&block) (Logger::ERROR, &block) end |
#info(&block) ⇒ Object
9 10 11 |
# File 'lib/settings_reader/vault_resolver/logging.rb', line 9 def info(&block) (Logger::INFO, &block) end |
#warn(&block) ⇒ Object
13 14 15 |
# File 'lib/settings_reader/vault_resolver/logging.rb', line 13 def warn(&block) (Logger::WARN, &block) end |