Module: Fixably::Logger

Extended by:
SingleForwardable
Defined in:
lib/fixably/logger.rb

Class Attribute Summary collapse

Class Attribute Details

.loggerObject



15
16
17
18
19
20
21
22
# File 'lib/fixably/logger.rb', line 15

def logger
  @logger ||=
    if defined?(Rails.logger)
      Rails.logger
    else
      ruby_logger
    end
end