Default formatter for log messages.

Methods
C
N
Constants
Format = "%s, [%s#%d] %5s -- %s: %s\n".freeze
 
Attributes
[RW] datetime_format
Class Public methods
new()
# File lib/logger.rb, line 556
def initialize
  @datetime_format = nil
end
Instance Public methods
call(severity, time, progname, msg)
# File lib/logger.rb, line 560
def call(severity, time, progname, msg)
  Format % [severity[0..0], format_datetime(time), $$, severity, progname,
    msg2str(msg)]
end