lib/semantic_logger/appender/tcp.rb in semantic_logger-4.2.2 vs lib/semantic_logger/appender/tcp.rb in semantic_logger-4.3.0
- old
+ new
@@ -180,10 +180,10 @@
# server: 'server:3300',
# connect_retry_interval: 0.1,
# connect_retry_count: 5
# )
def initialize(separator: "\n",
- level: nil, formatter: nil, filter: nil, application: nil, host: nil,
+ level: nil, formatter: nil, filter: nil, application: nil, host: nil, metrics: false,
**tcp_client_args, &block)
@separator = separator
@tcp_client_args = tcp_client_args
# Use the internal logger so that errors with remote logging are only written locally.