lib/semantic_logger/appender/http.rb in semantic_logger-4.2.2 vs lib/semantic_logger/appender/http.rb in semantic_logger-4.3.0
- old
+ new
@@ -86,15 +86,11 @@
username: nil,
password: nil,
open_timeout: 2.0,
read_timeout: 1.0,
continue_timeout: 1.0,
- level: nil,
- formatter: nil,
- filter: nil,
- application: nil,
- host: nil,
+ **args,
&block)
@url = url
@ssl_options = ssl
@username = username
@@ -131,10 +127,10 @@
else
@port ||= HTTP.http_default_port
end
@http = nil
- super(level: level, formatter: formatter, filter: filter, application: application, host: host, &block)
+ super(**args, &block)
reopen
end
# Re-open after process fork
def reopen