Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogLevelDebug = iota LogLevelInfo = iota LogLevelWarn = iota LogLevelError = iota LogLevelSilent = 99 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Error(ctx context.Context, format string, a ...any)
Warn(ctx context.Context, format string, a ...any)
Info(ctx context.Context, format string, a ...any)
Debug(ctx context.Context, format string, a ...any)
SetLogLevel(ctx context.Context, logLevel int) context.Context
Silent(ctx context.Context) context.Context
}
Click to show internal directories.
Click to hide internal directories.