Class: ManageIQ::Loggers::JSONLogger
- Defined in:
- lib/manageiq/loggers/json_logger.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Formatter
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*_, **_) ⇒ JSONLogger
constructor
A new instance of JSONLogger.
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 |