lib/httplog/configuration.rb in httplog-1.3.0 vs lib/httplog/configuration.rb in httplog-1.3.1
- old
+ new
@@ -4,10 +4,11 @@
class Configuration
attr_accessor :enabled,
:compact_log,
:json_log,
:logger,
+ :logger_method,
:severity,
:prefix,
:log_connect,
:log_request,
:log_headers,
@@ -26,9 +27,10 @@
def initialize
@enabled = true
@compact_log = false
@json_log = false
@logger = Logger.new($stdout)
+ @logger_method = :log
@severity = Logger::Severity::DEBUG
@prefix = LOG_PREFIX
@log_connect = true
@log_request = true
@log_headers = false