Class: Nsqcd::Support::ProductionFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Nsqcd::Support::ProductionFormatter
- Defined in:
- lib/nsqcd/support/production_formatter.rb
Class Method Summary collapse
Class Method Details
.call(severity, time, program_name, message) ⇒ Object
5 6 7 |
# File 'lib/nsqcd/support/production_formatter.rb', line 5 def self.call(severity, time, program_name, ) "#{time.utc.iso8601} p-#{Process.pid} t-#{Thread.current.object_id.to_s(36)} #{severity}: #{}\n" end |