Class: Karafka::Instrumentation::Logger
- Inherits:
-
Logger
- Object
- Logger
- Karafka::Instrumentation::Logger
- Includes:
- Singleton
- Defined in:
- lib/karafka/instrumentation/logger.rb
Overview
Note:
It uses ::Logger features - providing basic logging
Default logger for Event Delegator
Constant Summary collapse
- ENV_MAP =
Map containing information about log level for given environment
{ 'production' => ::Logger::ERROR, 'test' => ::Logger::ERROR, 'development' => ::Logger::INFO, 'debug' => ::Logger::DEBUG, 'default' => ::Logger::INFO }.freeze
Instance Method Summary collapse
-
#initialize(*_args) ⇒ Logger
constructor
Creates a new instance of logger ensuring that it has a place to write to.