Documentation
¶
Index ¶
- Constants
- type Logger
- func (l *Logger) DebugContext(ctx context.Context, format string, a ...any)
- func (l *Logger) ErrorContext(ctx context.Context, format string, a ...any)
- func (l *Logger) InfoContext(ctx context.Context, format string, a ...any)
- func (l *Logger) WarnContext(ctx context.Context, format string, a ...any)
Constants ¶
View Source
const ( LevelDebug = "debug" LevelInfo = "info" LevelWarn = "warn" LevelError = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶ added in v0.4.0
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) DebugContext ¶ added in v0.4.0
func (*Logger) ErrorContext ¶ added in v0.4.0
func (*Logger) InfoContext ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.