Module: Crono::Logging
Overview
Crono::Logging is a standart Ruby logger wrapper
Instance Method Summary collapse
Instance Method Details
#logfile=(logfile) ⇒ Object
6 7 8 |
# File 'lib/crono/logging.rb', line 6 def logfile=(logfile) Crono.logger = Logger.new(logfile) end |
#logger ⇒ Object
10 11 12 |
# File 'lib/crono/logging.rb', line 10 def logger Crono.logger end |