Skip to content

Commit

Permalink
[chore] Fix 2 places in log design doc (#5364)
Browse files Browse the repository at this point in the history
  • Loading branch information
yijiem committed May 16, 2024
1 parent 8fecf5d commit bf06b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (r *Record) SetSeverity(s Severity)
`Severity` type is defined in [severity.go](severity.go).
The constants are are based on
[Displaying Severity recommendation](https://opentelemetry.io/docs/specs/otel/logs/data-model/#displaying-severity).
Additionally, `Severity[Level]1` constants are defined to make the API more readable and user friendly.
Additionally, `Severity[Level]` constants are defined to make the API more readable and user friendly.

[`SeverityText`](https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-severitytext)
is accessed using following methods:
Expand Down Expand Up @@ -187,7 +187,7 @@ are defined in [keyvalue.go](keyvalue.go).
`KindMap` is used for a slice of key-value pairs (in spec: `map<string, any>`).

These types are defined in `go.opentelemetry.io/otel/log` package
as their are tightly coupled with the API and different from common attributes.
as they are tightly coupled with the API and different from common attributes.

The internal implementation of `Value` is based on
[`slog.Value`](https://pkg.go.dev/log/slog#Value)
Expand Down

0 comments on commit bf06b80

Please sign in to comment.