class Sidekiq::Logger

Defined in:

sidekiq/logger.cr

Constant 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

Class Method Summary

Class Method Detail

def self.build(backend : Log::Backend | Nil = nil) #

[View source]