Class: Hanami::Logger::JSONFormatter Private
- Defined in:
- lib/hanami/logger.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Hanami::Logger JSON formatter. This formatter returns string in JSON format.
Constant Summary
Constants inherited from Formatter
Formatter::NEW_LINE, Formatter::RESERVED_KEYS, Formatter::SEPARATOR
Instance Attribute Summary
Attributes inherited from Formatter
Class Method Summary collapse
- .eligible?(name) ⇒ Boolean private
Methods inherited from Formatter
Methods included from Utils::ClassAttribute
Class Method Details
.eligible?(name) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
218 219 220 |
# File 'lib/hanami/logger.rb', line 218 def self.eligible?(name) name == :json end |