Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLevelActive ¶
Types ¶
type Logger ¶
type Logger interface { Debug(a ...any) Debugf(format string, a ...any) Info(a ...any) Infof(format string, a ...any) Warn(a ...any) Warnf(format string, a ...any) Error(a ...any) Errorf(format string, a ...any) Fatal(a ...any) Fatalf(format string, a ...any) Writer() io.Writer Level() Level SetLevel(lvl Level) SetPalette(palette Palette) SetColors(active bool) }
func FromContext ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.