Class: Resqued::Logging::ResquedLogFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Resqued::Logging::ResquedLogFormatter
- Defined in:
- lib/resqued/logging.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, progname, msg) ⇒ Object
20 21 22 |
# File 'lib/resqued/logging.rb', line 20 def call(severity, time, progname, msg) "[%s#%6d] %5s %s -- %s\n" % [format_datetime(time), $$, severity, progname, msg2str(msg)] end |