Class: ScoutApm::Logging::Loggers::OpenTelemetry::Logs::LoggerProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/logging/loggers/opentelemetry/api/logs/logger_provider.rb

Overview

No-op implementation of a logger provider.

Direct Known Subclasses

SDK::Logs::LoggerProvider

Instance Method Summary collapse

Instance Method Details

#logger(name = nil, version = nil) ⇒ OpenTelemetry::Logs::Logger

Parameters:

  • name (optional String) (defaults to: nil)

    Instrumentation package name

  • version (optional String) (defaults to: nil)

    Instrumentation package version

Returns:



23
24
25
# File 'lib/scout_apm/logging/loggers/opentelemetry/api/logs/logger_provider.rb', line 23

def logger(name = nil, version = nil)
  @logger ||= NOOP_LOGGER
end