Object
Default formatter for log messages.
# File logger/formatter.rb, line 10 def initialize @datetime_format = nil end
# File logger/formatter.rb, line 14 def call(severity, time, progname, msg) Format % [severity[0..0], format_datetime(time), Process.pid, severity, progname, msg2str(msg)] end
This page was generated for Ruby 3.0.1
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.2.