Documentation
¶
Index ¶
- Constants
- func CreateSlogFor(serviceName string, attrs ...any) *slog.Logger
- func Debug(tag string, msg ...any)
- func Error(tag string, msg ...any)
- func Fatal(tag string, msg ...any)
- func Info(tag string, msg ...any)
- func SetSlogHandler(handler slog.Handler)
- func Warn(tag string, msg ...any)
- type Logger
Constants ¶
View Source
const TagKey = "tag"
Variables ¶
This section is empty.
Functions ¶
func SetSlogHandler ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.