Class Logger::Formatter
In: vendor/rails/activesupport/lib/active_support/core_ext/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/core_ext/logger.rb, line 81
81:       def initialize
82:         @datetime_format = nil
83:       end

Public Instance methods

[Source]

    # File vendor/rails/activesupport/lib/active_support/core_ext/logger.rb, line 85
85:       def call(severity, time, progname, msg)
86:         Format % [severity[0..0], format_datetime(time), $$, severity, progname,
87:         msg2str(msg)]
88:       end

[Validate]