Class: ScoutApm::Logging::Loggers::OpenTelemetry::Logs::Logger
- Inherits:
-
Object
- Object
- ScoutApm::Logging::Loggers::OpenTelemetry::Logs::Logger
- Defined in:
- lib/scout_apm/logging/loggers/opentelemetry/api/logs/logger.rb
Overview
No-op implementation of logger.
Direct Known Subclasses
Instance Method Summary collapse
-
#on_emit(timestamp: nil, observed_timestamp: nil, severity_number: nil, severity_text: nil, body: nil, trace_id: nil, span_id: nil, trace_flags: nil, attributes: nil, context: nil) ⇒ Object
Emit a LogRecord to the processing pipeline.
Instance Method Details
#on_emit(timestamp: nil, observed_timestamp: nil, severity_number: nil, severity_text: nil, body: nil, trace_id: nil, span_id: nil, trace_flags: nil, attributes: nil, context: nil) ⇒ Object
Emit a ScoutApm::Logging::Loggers::OpenTelemetry::Logs::LogRecord to the processing pipeline.
45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/scout_apm/logging/loggers/opentelemetry/api/logs/logger.rb', line 45 def on_emit( timestamp: nil, observed_timestamp: nil, severity_number: nil, severity_text: nil, body: nil, trace_id: nil, span_id: nil, trace_flags: nil, attributes: nil, context: nil ) end |