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
137
138
139
|
# File 'lib/sidekiq/logger.rb', line 137
def call(severity, time, program_name, message)
"#{time.utc.iso8601(3)} pid=#{::Process.pid} tid=#{tid}#{format_context} #{severity}: #{message}\n"
end
|