lib/semantic_logger/appender/tcp.rb in semantic_logger-4.15.0 vs lib/semantic_logger/appender/tcp.rb in semantic_logger-4.16.0
- old
+ new
@@ -189,10 +189,10 @@
# Use the internal logger so that errors with remote logging are only written locally.
Net::TCPClient.logger = logger
Net::TCPClient.logger.name = "Net::TCPClient"
- super(level: level, formatter: formatter, filter: filter, application: application, environment: environment, host: host, &block)
+ super(level: level, formatter: formatter, filter: filter, application: application, environment: environment, host: host, metrics: metrics, &block)
reopen
end
# After forking an active process call #reopen to re-open the handles to resources.
def reopen