Documentation
¶
Overview ¶
Package log provides structured file-based logging with rotation.
Index ¶
- func ContextWithRequestID(ctx context.Context, requestID string) context.Context
- func Debug(msg string, args ...any)
- func Error(msg string, args ...any)
- func Fatal(msg string, args ...any)
- func Info(msg string, args ...any)
- func Initialize(config Config)
- func RequestIDFromContext(ctx context.Context) string
- func Warn(msg string, args ...any)
- type Config
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithRequestID ¶
func Initialize ¶
func Initialize(config Config)
func RequestIDFromContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.