Class: OugaiRailsLogger
- Inherits:
-
Ougai::Logger
- Object
- Ougai::Logger
- OugaiRailsLogger
- Includes:
- ActiveSupport::LoggerSilence, ActiveSupport::LoggerThreadSafeLevel
- Defined in:
- lib/getaround_utils/railties/ougai.rb
Overview
Rails-compatible Ougai Logger github.com/tilfin/ougai/wiki/Use-as-Rails-logger#define-a-custom-logger
Instance Method Summary collapse
-
#initialize(*args) ⇒ OugaiRailsLogger
constructor
A new instance of OugaiRailsLogger.
Constructor Details
#initialize(*args) ⇒ OugaiRailsLogger
Returns a new instance of OugaiRailsLogger.
18 19 20 21 |
# File 'lib/getaround_utils/railties/ougai.rb', line 18 def initialize(*args) super after_initialize if respond_to?(:after_initialize) && ActiveSupport::VERSION::MAJOR < 6 end |