Class Logger::Formatter
In: vendor/rails/activesupport/lib/active_support/clean_logger.rb
Parent: Object

Methods

call   new  

Constants

Format = "%s, [%s#%d] %5s -- %s: %s\n"

Attributes

datetime_format  [RW] 

Public Class methods

[Source]

    # File vendor/rails/activesupport/lib/active_support/clean_logger.rb, line 62
62:       def initialize
63:         @datetime_format = nil
64:       end

Public Instance methods

[Source]

    # File vendor/rails/activesupport/lib/active_support/clean_logger.rb, line 66
66:       def call(severity, time, progname, msg)
67:         Format % [severity[0..0], format_datetime(time), $$, severity, progname,
68:         msg2str(msg)]
69:       end

[Validate]