Class: OpenTelemetry::Logs::LoggerProvider
- Inherits:
-
Object
- Object
- OpenTelemetry::Logs::LoggerProvider
- Defined in:
- lib/opentelemetry/logs/logger_provider.rb
Overview
No-op implementation of a logger provider.
Direct Known Subclasses
Instance Method Summary collapse
-
#logger(name = nil, version = nil) ⇒ OpenTelemetry::Logs::Logger
Returns an Logger instance.
Instance Method Details
#logger(name = nil, version = nil) ⇒ OpenTelemetry::Logs::Logger
Returns an OpenTelemetry::Logs::Logger instance.
20 21 22 |
# File 'lib/opentelemetry/logs/logger_provider.rb', line 20 def logger(name = nil, version = nil) @logger ||= NOOP_LOGGER end |