Class: ManageIQ::Loggers::JSONLogger

Inherits:
Base
  • Object
show all
Defined in:
lib/manageiq/loggers/json_logger.rb

Direct Known Subclasses

Container

Defined Under Namespace

Classes: Formatter

Constant Summary

Constants inherited from Base

Base::MAX_LOG_LINE_LENGTH

Instance Attribute Summary

Attributes inherited from Base

#logdev

Instance Method Summary collapse

Methods inherited from Base

#level, #log_backtrace, #log_hashes, log_hashes, log_hashes_filter, #log_hashes_filter, #log_hashes_filter=, log_hashes_filter=, #silence, #wrap, wrap

Constructor Details

#initialize(*_, **_) ⇒ JSONLogger

Returns a new instance of JSONLogger.



4
5
6
7
# File 'lib/manageiq/loggers/json_logger.rb', line 4

def initialize(*_, **_)
  super
  self.formatter = Formatter.new
end