Module: Baton::Logging
- Included in:
- Channel, Configuration, Consumer, ConsumerManager, Service
- Defined in:
- lib/baton/logging.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.logger ⇒ Object
9 10 11 12 |
# File 'lib/baton/logging.rb', line 9 def self.logger STDOUT.sync = true @logger ||= Logger.new(STDOUT) end |
.logger=(out) ⇒ Object
14 15 16 |
# File 'lib/baton/logging.rb', line 14 def self.logger=(out) @logger = Logger.new(out) end |