Module: TaskHelper
- Defined in:
- lib/tasks/glueby/task_helper.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/tasks/glueby/task_helper.rb', line 2 def logger return Rails.logger if Rails.logger @logger ||= begin logger = ActiveSupport::Logger.new(STDOUT) logger.level = Logger::INFO logger end end |