Module: Lightchef::Logger
- Defined in:
- lib/lightchef/logger.rb
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
6 7 8 |
# File 'lib/lightchef/logger.rb', line 6 def self.logger @logger ||= ::Logger.new($stdout) end |
.logger=(l) ⇒ Object
10 11 12 |
# File 'lib/lightchef/logger.rb', line 10 def self.logger=(l) @logger = l end |
.method_missing(method, *args, &block) ⇒ Object
14 15 16 |
# File 'lib/lightchef/logger.rb', line 14 def self.method_missing(method, *args, &block) logger.public_send(method, *args, &block) end |