Skip to content

otellogr: record.SetErr for error #8747

@pellared

Description

@pellared

otellogr should set the error as field instead of attributes

record.AddAttributes(
log.String(string(semconv.ExceptionMessageKey), err.Error()),
)

Metadata

Metadata

Assignees

Labels

bridge: logrRelated to the logr bridgeenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions