Class: Hanami::Logger::NullColorizer Private
- Inherits:
-
Object
- Object
- Hanami::Logger::NullColorizer
- Defined in:
- lib/hanami/logger/colorizer.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.
Null colorizer for logger streams that aren’t a TTY (eg. files)
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#call(app, severity, datetime, _progname) ⇒ Object
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.
15 16 17 18 19 20 21 |
# File 'lib/hanami/logger/colorizer.rb', line 15 def call(app, severity, datetime, _progname) ::Hash[ app: app, severity: severity, time: datetime, ] end |