Skip to content
Merged
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 @@ -15,6 +15,9 @@ release.

### Logs

- Stabilize optional `Exception` parameter to Logger Emit.
([#4858](https://github.com/open-telemetry/opentelemetry-specification/pull/4858))

### Baggage

### Profiles
Expand Down
2 changes: 1 addition & 1 deletion specification/logs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ The API MUST accept the following parameters:
- [Attributes](./data-model.md#field-attributes) (optional)
- [Event Name](./data-model.md#field-eventname) (optional)

**Status**: [Development](../document-status.md) - The API MAY accept the following parameter:
The API MAY accept the following parameter:

- Exception (optional): An exception (or error) associated with the log record.

Expand Down
3 changes: 1 addition & 2 deletions specification/logs/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ However, the changes MUST be eventually visible.
If [Observed Timestamp](./data-model.md#field-observedtimestamp) is unspecified,
the implementation SHOULD set it equal to the current time.

**Status**: [Development](../document-status.md) - If an
[Exception](api.md#emit-a-logrecord) is provided, the SDK MUST by default set attributes
If an [Exception](api.md#emit-a-logrecord) is provided, the SDK MUST by default set attributes
from the exception on the `LogRecord` with the conventions outlined in the
[exception semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/exceptions/exceptions-logs.md).
User-provided attributes MUST take precedence and MUST NOT be overwritten by
Expand Down
Loading