Module: Glueby::GluebyLogger
- Included in:
- Contract::AR::Timestamp, Internal::Wallet
- Defined in:
- lib/glueby.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
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 |