Class: Hyperion::Config::LoggingConfig

Inherits:
Object
  • Object
show all
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

Constructor Details

#initializeLoggingConfig

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