Documentation
¶
Overview ¶
lg is a wrapper of builtin log package
Index ¶
- func D(_ any, e error)
- func D0(e error)
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func EnableColor()
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func I(_ any, e error)
- func I0(e error)
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func PrependLevel(lv Level, s string) string
- func T(_ any, e error)
- func T0(e error)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func W(_ any, e error)
- func W0(_ any, e error)
- func Warning(v ...interface{})
- func Warningf(format string, v ...interface{})
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableColor ¶
func EnableColor()
func PrependLevel ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.