Module: Halcyon::Logging::Helpers

Defined in:
lib/halcyon/logging/helpers.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(target) ⇒ Object



5
6
7
# File 'lib/halcyon/logging/helpers.rb', line 5

def self.included(target)
  target.extend(ClassMethods)
end

Instance Method Details

#loggerObject

The current application logger instance.

Examples

self.logger.debug "Deleting user's cached data"

Returns Logger:logger



15
16
17
# File 'lib/halcyon/logging/helpers.rb', line 15

def logger
  Halcyon.logger
end