Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type SlogLogger ¶ added in v1.8.0
SlogLogger is an OpenTelemetry Logger
func (SlogLogger) Emit ¶ added in v1.8.0
func (s SlogLogger) Emit(ctx context.Context, record otellog.Record)
func (SlogLogger) Enabled ¶ added in v1.8.0
func (s SlogLogger) Enabled(_ context.Context, _ otellog.EnabledParameters) bool
type SlogProvider ¶ added in v1.8.0
type SlogProvider struct { embedded.LoggerProvider // contains filtered or unexported fields }
func (SlogProvider) Logger ¶ added in v1.8.0
func (s SlogProvider) Logger(name string, options ...otellog.LoggerOption) otellog.Logger
Click to show internal directories.
Click to hide internal directories.