Module: Glueby::GluebyLogger

Included in:
Contract::AR::Timestamp, Internal::Wallet
Defined in:
lib/glueby.rb

Instance Method Summary collapse

Instance Method Details

#loggerObject



21
22
23
24
25
26
27
# File 'lib/glueby.rb', line 21

def logger
  if defined?(Rails) && Rails.logger
    Rails.logger
  else
    Logger.new(STDOUT)
  end
end