Module: SemanticLogger::Appender::TcpClientOptions::BenchmarkWithoutWarning
- Defined in:
- lib/semantic_logger/appender/tcp_client_options.rb
Overview
The benchmark_* methods that net_tcp_client older than MEASURE_VERSION calls, without the deprecation warning of Base#benchmark_debug and the others. The :tcp and :syslog appenders extend their own internal logger with it, the one they give net_tcp_client, when .report_outdated_gem says it is outdated: it calls them at every connection and write, on the appender's worker thread, where a warning would name no line of the application, and would raise from each write where the application raises deprecation warnings, or log an entry for each write where it logs them.