Module: LB::Operation::Log::ClassInterface
- Defined in:
- lib/lb/operation/log.rb
Overview
Logger class interface
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
-
#with_logger(logger) ⇒ self
Sets the logger.
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
9 10 11 |
# File 'lib/lb/operation/log.rb', line 9 def logger @logger end |
Instance Method Details
#with_logger(logger) ⇒ self
Sets the logger.
15 16 17 18 |
# File 'lib/lb/operation/log.rb', line 15 def with_logger(logger) @logger = logger self end |