class Sidekiq::Logger
- Sidekiq::Logger
- Reference
- Object
Defined in:
sidekiq/logger.crConstant Summary
-
NO_TS =
::Log::Formatter.new do |entry, io| io << ::Process.pid io << " TID-" Fiber.current.object_id.to_s(io, 36) entry.data.each do |key, value| (((io << " ") << key) << "-") << value end io << " " io << entry.severity io << ": " io << entry.message end
-
PRETTY =
::Log::Formatter.new do |entry, io| io << entry.timestamp.to_utc.to_rfc3339(fraction_digits: 3) io << " " NO_TS.format(entry, io) end