Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OTELErrorHandler otel.ErrorHandler = otel.ErrorHandlerFunc(func(err error) { logrus.WithError(err).Debug("otel error") })
OTELErrorHandler is an error handler for OTEL that uses the CLI debug package to log messages when an error occurs.
The default is to log to the debug level which is only enabled when debugging is enabled.
Functions ¶
func Disable ¶
func Disable()
Disable sets the DEBUG env var to false and makes the logger to log at info level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.