Class: Sidekiq::Logger::Formatters::Pretty
- Inherits:
-
Base
- Object
- Logger::Formatter
- Base
- Sidekiq::Logger::Formatters::Pretty
show all
- Defined in:
- lib/sidekiq/logger.rb
Instance Method Summary
collapse
Methods inherited from Base
#ctx, #format_context, #tid
Instance Method Details
#call(severity, time, program_name, message) ⇒ Object
103
104
105
|
# File 'lib/sidekiq/logger.rb', line 103
def call(severity, time, program_name, message)
"#{time.utc.iso8601(3)} pid=#{::Process.pid} tid=#{tid}#{format_context} #{severity}: #{message}\n"
end
|