Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DoNotMerge] ReadableLogRecord is able to access the passed context #3908

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ release.

### Logs

- `ReadableLogRecord` is able to access the passed context.
([#3908](https://github.com/open-telemetry/opentelemetry-specification/pull/3908))

### Resource

### OpenTelemetry Protocol
Expand Down
4 changes: 3 additions & 1 deletion specification/logs/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ following `LogRecord`-like interfaces are defined in the SDK:
### ReadableLogRecord

A function receiving this as an argument MUST be able to access all the
information added to the [LogRecord](data-model.md#log-and-event-record-definition). It MUST also be able to
information added via [Emit a LogRecord](bridge-api.md#emit-a-logrecord).

It MUST also be able to access the [Instrumentation Scope](./data-model.md#field-instrumentationscope)
access the [Instrumentation Scope](./data-model.md#field-instrumentationscope)
and [Resource](./data-model.md#field-resource) information (implicitly)
associated with the `LogRecord`.
Expand Down
Loading