Skip to content

Commit

Permalink
Merge branch 'main' into hanyuancheung-emeritus
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Oct 4, 2024
2 parents 5996976 + 3da26f0 commit d8ff1a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/log/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ func putIndex(index map[string]int) {
}

// Record is a log record emitted by the Logger.
//
// Do not create instances of Record on your own in production code.
// You can use [go.opentelemetry.io/otel/sdk/log/logtest.RecordFactory]
// for testing purposes.
type Record struct {
// Do not embed the log.Record. Attributes need to be overwrite-able and
// deep-copying needs to be possible.
Expand Down

0 comments on commit d8ff1a1

Please sign in to comment.