Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoggerProvider ¶
func GetLoggerProvider() logs.LoggerProvider
GetLoggerProvider returns the registered global logger provider. If none is registered then an instance of NoopLoggerProvider is returned.
loggerProvider := otel.GetLoggerProvider()
func SetLoggerProvider ¶
func SetLoggerProvider(lp logs.LoggerProvider)
SetLoggerProvider registers `lp` as the global logger provider.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
autoconfigure
module
|
|
exporters
|
|
stdout/stdoutlogs
Module
|
|
internal
|
|
Package logs provides an implementation of the logging part of the OpenTelemetry API.
|
Package logs provides an implementation of the logging part of the OpenTelemetry API. |
sdk
module
|
|
Click to show internal directories.
Click to hide internal directories.