lib/opentelemetry/sdk/forwarding_logger.rb in opentelemetry-sdk-1.2.0 vs lib/opentelemetry/sdk/forwarding_logger.rb in opentelemetry-sdk-1.2.1

- old
+ new

@@ -8,10 +8,10 @@ # log level, while respecting the configured level of the supplied logger. # If the OTEL_LOG_LEVEL is set to debug, and the supplied logger is configured # with an ERROR log level, only OpenTelemetry logs at the ERROR level or higher # will be emitted. class ForwardingLogger - def initialize(logger, level:) # rubocop:disable Metrics/CyclomaticComplexity + def initialize(logger, level:) @logger = logger if level.is_a?(Integer) @level = level else