Skip to content

Logs specification seems inconsistent #4435

@Yas-Franco

Description

@Yas-Franco

There are contradictory statements in the Logs specification.

As of #4352, the logs API has been made user-facing. The specification states that the API can be called by applications:

The Logs API can also be directly called by instrumentation libraries as well as instrumented libraries or applications.

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/api.md?plain=1#L37

The specification still states that developers are not encouraged to call the API directly:

Application developers are NOT encouraged to call this API directly. It is provided for library authors to build

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/README.md?plain=1#L148

Is it true that the Logs API can be directly called but it is still not encouraged? I think this needs specifying in the documenation

Metadata

Metadata

Assignees

Labels

spec:logsRelated to the specification/logs directorytriage:accepted:ready-with-sponsorReady to be implemented and has a specification sponsor assigned

Type

No type

Projects

Status

Spec - Accepted

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions