Documentation ¶
Index ¶
- Constants
- func Close() error
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Fatal(args ...any)
- func Fatalf(format string, args ...any)
- func Info(args ...any)
- func Infof(format string, args ...any)
- func Panic(args ...any)
- func Panicf(format string, args ...any)
- func Setup(config Config) error
- func Trace(args ...any)
- func Tracef(format string, args ...any)
- func Warn(args ...any)
- func Warnf(format string, args ...any)
- type Config
- type HookCloser
- type Logger
Constants ¶
View Source
const ( JsonFormat = "json" TextFormat = "text" )
View Source
const ( LevelTrace = "trace" LevelDebug = "debug" LevelInfo = "info" LevelWarn = "warn" LevelError = "error" LevelPanic = "panic" LevelFatal = "fatal" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.