Documentation
¶
Overview ¶
Logging provides a logger with zap and otel integration. https://github.com/uptrace/opentelemetry-go-extra/tree/otelzap/v0.1.15/otelzap
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(minLevel zapcore.Level) (*otelzap.SugaredLogger, error)
InitLogger creates the new zap logger for sending telemetry while logging.
configType defines the type of logger to create, either development or production. defaults to production.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.