Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ServiceName is the instrumentation name attached to bridged logs.
ServiceName string
// LoggerProvider overrides the OpenTelemetry logger provider used by the
// otellogrus bridge.
LoggerProvider log.LoggerProvider
}
Config configures a logrus logger bridged into OpenTelemetry logs.
Click to show internal directories.
Click to hide internal directories.