From bb36dd38f4da9bf00fa8394eb0000b05db9ad777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 16 Jan 2025 08:10:55 +0100 Subject: [PATCH] Update 4290-logger-enabled.md --- oteps/logs/4290-logger-enabled.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/oteps/logs/4290-logger-enabled.md b/oteps/logs/4290-logger-enabled.md index 305844774b9..4c1b2d29a89 100644 --- a/oteps/logs/4290-logger-enabled.md +++ b/oteps/logs/4290-logger-enabled.md @@ -85,11 +85,6 @@ if trace.SpanContextFromContext(ctx).IsSampled() && logger.Enabled(ctx, params) ``` -The instrumentation libraries can have a configuration defining -if they emit log records that are not inside sampled spans. -The alternative can be [extending LoggerConfig](#extending-loggerconfig) -so that the instrumentation library code could be simplified. - The addition of `LogRecordProcessor.Enabled` is necessary for use cases where filtering is dynamic and coupled to processing, such as (5) and (6).