Skip to content

Commit

Permalink
applied changelog review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
suniastar committed Oct 21, 2024
1 parent 1bbaa6b commit 2a0d9be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Transform raw (`slog.KindAny`) attribute values to matching `log.Value` types.
For example, `[]string{"foo", "bar"}` attribute value is now transformed to `log.SliceValue(log.StringValue("foo"), log.StringValue("bar"))` instead of `log.String("[foo bar"])`. (#6254)
- Add the `WithSource` option to the `go.opentelemetry.io/contrib/bridges/otelslog` log bridge to set the `code.*` attributes in the log record that includes the source location where the record was emitted. (#6253)
- Add caller information in otelzap to the `log.Record` if the `zap.Logger` was created with the `AddCaller()` option. (#6268)
- Add stack trace in otelzap to the `log.Record` if the `zap.Logger` was created with the `AddStackStrace()` option. (#6268)
- Set the `code.*` attributes in `go.opentelemetry.io/contrib/bridges/otelzap` if the `zap.Logger` was created with the `AddCaller` and/or `AddStacktrace(level)` option. (#6268)

### Fixed

Expand Down

0 comments on commit 2a0d9be

Please sign in to comment.