Class: Hyperion::Config::LoggingConfig
- Inherits:
-
Object
- Object
- Hyperion::Config::LoggingConfig
- Defined in:
- lib/hyperion/config.rb
Overview
Logging subconfig. ‘level` / `format` mirror the 1.6.x flat setters; `requests` is the new home for `log_requests`. nil = delegate to `Hyperion.log_requests?` (env + default ON).
Constant Summary collapse
- ATTRS =
%i[level format requests].freeze
Instance Method Summary collapse
-
#initialize ⇒ LoggingConfig
constructor
A new instance of LoggingConfig.
Constructor Details
#initialize ⇒ LoggingConfig
Returns a new instance of LoggingConfig.
150 151 152 153 154 |
# File 'lib/hyperion/config.rb', line 150 def initialize @level = nil @format = nil @requests = nil end |