Documentation ¶ Index ¶ func AddOpenTelemetryToDefaultLogger(telemetryApp telemetry.Service) func ErrorField(err error) errorField func Init(config *Config) type Config func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddOpenTelemetryToDefaultLogger ¶ added in v4.69.1 func AddOpenTelemetryToDefaultLogger(telemetryApp telemetry.Service) func ErrorField ¶ added in v4.69.5 func ErrorField(err error) errorField func Init ¶ added in v4.63.0 func Init(config *Config) Types ¶ type Config ¶ type Config struct { Level string TimeKey string LevelKey string MessageKey string JSON bool } func Flags ¶ func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config Source Files ¶ View all Source files error.go logger.go Click to show internal directories. Click to hide internal directories.