Class: Sidekiq::Logger

Inherits:
Logger
  • Object
show all
Includes:
LoggingUtils
Defined in:
lib/sidekiq/logger.rb

Defined Under Namespace

Modules: Formatters

Constant Summary

Constants included from LoggingUtils

Sidekiq::LoggingUtils::LEVELS

Instance Method Summary collapse

Methods included from LoggingUtils

#add, #debug?, #error?, #fatal?, #info?, #level, #local_level, #local_level=, #log_at, #warn?

Constructor Details

#initialize(*args) ⇒ Logger

Returns a new instance of Logger.


107
108
109
110
# File 'lib/sidekiq/logger.rb', line 107

def initialize(*args)
  super
  self.formatter = Sidekiq.log_formatter
end