vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier.rb
# Returns the default logger or a logger that prints to STDOUT. Necessary for manual
# notifications outside of controllers.
Returns the default logger or a logger that prints to STDOUT. Necessary for manual
notifications outside of controllers.
Returns the default logger or a logger that prints to STDOUT . Necessary for manual notifications outside of controllers .
def logger
      ActiveRecord::Base.logger
    rescue
      @logger ||= Logger.new(STDERR)
    end
def logger ActiveRecord :: Base . logger rescue @logger ||= Logger . new ( STDERR ) end
Returns the default logger or a logger that prints to STDOUT.
Returns the default logger or a logger that prints to STDOUT .