Object
Default formatter for log messages.
# File logger/formatter.rb, line 11 def initialize @datetime_format = nil end
# File logger/formatter.rb, line 15 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.1.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.42.0.