Documentation
¶
Index ¶
- func AddLoggingMiddleware(handler http.Handler) http.Handler
- func Debug(ctx context.Context, message string, args ...any)
- func Error(ctx context.Context, message string, args ...any)
- func Fatal(ctx context.Context, message string, args ...any)
- func Info(ctx context.Context, message string, args ...any)
- func SetupLogger(ctx context.Context, serviceName string, otlpTracesURL string, c Config) error
- func Warn(ctx context.Context, message string, args ...any)
- type Config
- type Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLogger ¶
Types ¶
type Environment ¶
type Environment = string
const ( Production Environment = "production" Staging Environment = "staging" )
Click to show internal directories.
Click to hide internal directories.