Class: OpenTelemetry::Logs::Logger
- Inherits:
-
Object
- Object
- OpenTelemetry::Logs::Logger
- Defined in:
- lib/opentelemetry/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 OpenTelemetry::Logs::LogRecord to the processing pipeline.
42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/opentelemetry/logs/logger.rb', line 42 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 |