Module: BatchKit::Loggable
- Included in:
- Job
- Defined in:
- lib/batch-kit/loggable.rb
Overview
Adds logging behaviour to a batch-kit process, causing its lifecycle to be logged.
Instance Method Summary collapse
-
#log ⇒ Object
Returns a logger instance named after the class.
Instance Method Details
#log ⇒ Object
Returns a logger instance named after the class
11 12 13 |
# File 'lib/batch-kit/loggable.rb', line 11 def log @log ||= LogManager.logger(self.class.name) end |