Documentation
¶
Index ¶
- func AddFileOutput(logPath string)
- func ColorErrorf(format string, v ...any)
- func ColorWarnf(format string, v ...any)
- func CreateRollingLogFile(logPath string) io.Writer
- func Debug(msg string)
- func Debugf(format string, v ...interface{})
- func Err(err error) *zerolog.Event
- func Error(msg string)
- func Errorf(format string, v ...interface{})
- func Info(msg string)
- func Infof(format string, v ...interface{})
- func Panic(msg string)
- func Panicf(format string, v ...interface{})
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func SetDebugLevel()
- func SetTraceLevel()
- func Trace(msg string)
- func Tracef(format string, v ...interface{})
- func Warn(msg string)
- func Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileOutput ¶
func AddFileOutput(logPath string)
func ColorErrorf ¶
func ColorWarnf ¶
func CreateRollingLogFile ¶
func SetDebugLevel ¶
func SetDebugLevel()
func SetTraceLevel ¶
func SetTraceLevel()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.