Module: AMQP::Boilerplate::Logging

Included in:
AMQP::Boilerplate
Defined in:
lib/amqp/boilerplate/logging.rb

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject

Returns the logger used to write logging output to. You can define the logger when you configure AMQP::Boilerplate if you want to use a different logger than the default Ruby Logger.



12
13
14
# File 'lib/amqp/boilerplate/logging.rb', line 12

def logger
  @logger ||= ::Logger.new(STDOUT)
end