Class: ActiveSupport::Logger::SimpleFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- ActiveSupport::Logger::SimpleFormatter
- Includes:
- CustomLogger::InstanceMethods
- Defined in:
- lib/active_support/custom_logger.rb
Instance Method Summary collapse
Methods included from CustomLogger::InstanceMethods
Instance Method Details
#call_with_formatted_timestamp(severity, timestamp, progname, msg) ⇒ Object
35 36 37 38 |
# File 'lib/active_support/custom_logger.rb', line 35 def (severity, , progname, msg) msg = "#{formatted_timestamp} #{msg}" if String === msg (severity, , progname, msg) end |