Documentation
¶
Index ¶
- func Debug(msg string, keyvals ...any)
- func Debugf(format string, args ...any)
- func Error(msg string, keyvals ...any)
- func Errorf(format string, args ...any)
- func Info(msg string, keyvals ...any)
- func Infof(format string, args ...any)
- func SetDefault(l *Logger)
- func Warn(msg string, keyvals ...any)
- func Warnf(format string, args ...any)
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a structured concurrency-safe logger.
func (*Logger) SetJSONMode ¶
SetJSONMode toggles JSON logging.
Click to show internal directories.
Click to hide internal directories.