Module: AMQPProcessing::Logging
- Included in:
- Client
- Defined in:
- lib/amqp-processing/logging.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#log ⇒ Object
Returns the assigned logger, or creates a new Logger with no output stream.
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/amqp-processing/logging.rb', line 7 def logger @logger end |
Instance Method Details
#log ⇒ Object
Returns the assigned logger, or creates a new Logger with no output stream.
10 11 12 13 |
# File 'lib/amqp-processing/logging.rb', line 10 def log @logger ||= Logger.new(nil) @logger end |