Class: Sneakers::Support::ProductionFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Sneakers::Support::ProductionFormatter
- Defined in:
- lib/sneakers/support/production_formatter.rb
Class Method Summary collapse
Class Method Details
.call(severity, time, program_name, message) ⇒ Object
5 6 7 |
# File 'lib/sneakers/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 |