class ActiveSupport::Logger::SimpleFormatter
Public Instance Methods
call_with_formatted_timestamp(severity, timestamp, progname, msg)
click to toggle source
# File lib/active_support/custom_logger.rb, line 35 def call_with_formatted_timestamp(severity, timestamp, progname, msg) msg = "#{formatted_timestamp} #{msg}" if String === msg call_without_formatted_timestamp(severity, timestamp, progname, msg) end