Class: Appfuel::LogFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Appfuel::LogFormatter
- Defined in:
- lib/appfuel/log_formatter.rb
Class Method Summary collapse
Class Method Details
.call(severity, time, progname, msg) ⇒ Object
5 6 7 |
# File 'lib/appfuel/log_formatter.rb', line 5 def self.call(severity, time, progname, msg) "#{progname} #{time.utc.iso8601} p-#{Process.pid} #{severity}: #{msg}\n" end |