package embedded
Import Path
go.opentelemetry.io/otel/log/embedded (on go.dev)
Dependency Relation
imports 0 packages, and imported by 3 packages
Involved Source Files
Package embedded provides interfaces embedded within the [OpenTelemetry Logs
Bridge API].
Implementers of the [OpenTelemetry Logs API] can embed the relevant
type from this package into their implementation directly. Doing so will
result in a compilation error for users when the [OpenTelemetry Logs Bridge
API] is extended (which is something that can happen without a major version
bump of the API package).
Package-Level Type Names (total 2)
Logger is embedded in [Logs API Logger].
Embed this interface in your implementation of the [Logs API Logger]
if you want users to experience a compilation error, signaling they need to
update to your latest implementation, when the [Logs API Logger]
interface is extended (which is something that can happen without a major
version bump of the API package).
go.opentelemetry.io/otel/log.Logger (interface)
go.opentelemetry.io/otel/log/noop.Logger
LoggerProvider is embedded in the [Logs API LoggerProvider].
Embed this interface in your implementation of the [Logs API
LoggerProvider] if you want users to experience a compilation error,
signaling they need to update to your latest implementation, when the [Logs
Bridge API LoggerProvider] interface is extended (which is something that
can happen without a major version bump of the API package).
go.opentelemetry.io/otel/log.LoggerProvider (interface)
go.opentelemetry.io/otel/log/noop.LoggerProvider
go.opentelemetry.io/otel/sdk/log.LoggerProvider
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |