Documentation ¶
Index ¶
Constants ¶
View Source
const LevelFatal = slog.LevelError + 1
Variables ¶
View Source
var DefaultLogger = NewLogger("debug")
Functions ¶
func MustParseLevel ¶
Types ¶
type CustomLogger ¶
func L ¶
func L(ctx context.Context) *CustomLogger
func NewLogger ¶
func NewLogger(level string) *CustomLogger
func (*CustomLogger) Fatal ¶
func (l *CustomLogger) Fatal(msg string, args ...any)
Click to show internal directories.
Click to hide internal directories.