Class: Incline::JsonLogger
- Inherits:
-
ActiveSupport::Logger
- Object
- ActiveSupport::Logger
- Incline::JsonLogger
- Defined in:
- lib/incline/json_logger.rb
Overview
Overrides the default formatter for the base logger.
Instance Method Summary collapse
-
#initialize(*args) ⇒ JsonLogger
constructor
Sets the formatter to Incline::JsonLogFormatter.
Constructor Details
#initialize(*args) ⇒ JsonLogger
Sets the formatter to Incline::JsonLogFormatter.
11 12 13 14 |
# File 'lib/incline/json_logger.rb', line 11 def initialize(*args) super @formatter = ::Incline::JsonLogFormatter.new end |