Module: Halcyon::Logging::Helpers::ClassMethods
- Defined in:
- lib/halcyon/logging/helpers.rb
Instance Method Summary collapse
-
#logger ⇒ Object
The current application logger instance, usable in the class context.
Instance Method Details
#logger ⇒ Object
The current application logger instance, usable in the class context. This means you can call self.logger
from inside of class methods, filters, etc.
Examples
self.logger.debug "Test message"
Returns Logger:logger
29 30 31 |
# File 'lib/halcyon/logging/helpers.rb', line 29 def logger Halcyon.logger end |