Class: MailyHerald::Logging::Formatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- MailyHerald::Logging::Formatter
- Defined in:
- lib/maily_herald/logging.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, program_name, message) ⇒ Object
42 43 44 |
# File 'lib/maily_herald/logging.rb', line 42 def call(severity, time, program_name, ) "#{time.utc.iso8601} #{Process.pid} [Maily##{"%3s" % program_name}] #{severity}: #{}\n" end |