Skip to content

Commit e18299f

Browse files
authored
log: Make whole Logs API user-facing (#6167)
Reason: open-telemetry/opentelemetry-specification#4352 Prior-art: #6018 Support for `EventName` field will be added in separate PRs.
1 parent cbc3b6a commit e18299f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
- Remove the notices from `Logger` to make the whole Logs API user-facing in `go.opentelemetry.io/otel/log`. (#6167)
14+
1115
### Fixed
1216

1317
- Relax minimum Go version to 1.22.0 in various modules. (#6073)

log/logger.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ type Logger interface {
2828
//
2929
// Implementations of this method need to be safe for a user to call
3030
// concurrently.
31-
//
32-
// Notice: Emit is intended to be used by log bridges.
33-
// Is should not be used for writing instrumentation.
3431
Emit(ctx context.Context, record Record)
3532

3633
// Enabled returns whether the Logger emits for the given context and
@@ -53,9 +50,6 @@ type Logger interface {
5350
//
5451
// Implementations of this method need to be safe for a user to call
5552
// concurrently.
56-
//
57-
// Notice: Enabled is intended to be used by log bridges.
58-
// Is should not be used for writing instrumentation.
5953
Enabled(ctx context.Context, param EnabledParameters) bool
6054
}
6155

0 commit comments

Comments
 (0)