lib/semantic_logger/appender/http.rb in semantic_logger-4.1.0 vs lib/semantic_logger/appender/http.rb in semantic_logger-4.1.1
- old
+ new
@@ -15,11 +15,11 @@
# appender: :http,
# url: 'http://localhost:8088/path'
# )
class SemanticLogger::Appender::Http < SemanticLogger::Subscriber
attr_accessor :username, :application, :host, :compress, :header,
- :open_timeout, :read_timeout, :continue_timeout
+ :open_timeout, :read_timeout, :continue_timeout
attr_reader :http, :url, :server, :port, :path, :ssl_options
# Create HTTP(S) log appender
#
# Parameters:
@@ -76,10 +76,10 @@
# Default: 1.0
#
# continue_timeout: [Float]
# Default: 1.0
def initialize(url:, compress: false, ssl: {}, 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, &block)
+ level: nil, formatter: nil, filter: nil, application: nil, host: nil, &block)
@url = url
@ssl_options = ssl
@username = username
@password = password