From d6cb8950dc40d63ff5e516c1473fbd2002297aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Tue, 1 Oct 2024 17:06:23 +0200 Subject: [PATCH] Do not require extensible Logger.Enabled parameters list (#4221) --- CHANGELOG.md | 1 + specification/logs/bridge-api.md | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ec4667979..df9d5bca1e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ release. - Define `Enabled` parameters for `Logger`. ([#4203](https://github.com/open-telemetry/opentelemetry-specification/pull/4203)) + ([#4221](https://github.com/open-telemetry/opentelemetry-specification/pull/4221)) - Make all fields as identifying for Logger. Previously attributes were omitted from being identifying. ([#4161](https://github.com/open-telemetry/opentelemetry-specification/pull/4161)) diff --git a/specification/logs/bridge-api.md b/specification/logs/bridge-api.md index 0d1e80d7cd7..258966c0839 100644 --- a/specification/logs/bridge-api.md +++ b/specification/logs/bridge-api.md @@ -136,15 +136,6 @@ The API SHOULD accept the following parameters: When only explicit Context is supported, accepting this parameter is REQUIRED. - [Severity Number](./data-model.md#field-severitynumber) (optional) -Additional optional parameters can be added in the future, therefore, -the API MUST be structured in a way for these parameters to be added. - -It SHOULD be possible to distinguish between an unspecified parameter value from -a parameter value set explicitly to a valid default value of given type -(e.g. distinguish unspecified attributes for empty attributes). The exception -from this rule is when the default value of given type is not seen as a valid -value like 0 for [Severity Number](./data-model.md#field-severitynumber). - This API MUST return a language idiomatic boolean type. A returned value of `true` means the `Logger` is enabled for the provided arguments, and a returned value of `false` means the `Logger` is disabled for the provided arguments.