Documentation ¶
Index ¶
- func ContextWithLogger(ctx context.Context, logger *slog.Logger) context.Context
- func LoggerFromContext(ctx context.Context) *slog.Logger
- func Middleware(logger *slog.Logger) func(next http.Handler) http.Handler
- func NewLogger(serviceName string) *slog.Logger
- func StartTracerProvider(ctx context.Context, logger *slog.Logger, exportTraces bool) (func(), error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.