Documentation
¶
Index ¶
- Constants
- Variables
- func Cleanup()
- func Debug(args ...any)
- func Debugf(f string, args ...interface{})
- func Default() liblog.Logger
- func Error(args ...any)
- func Errorf(f string, args ...interface{})
- func Fatal(args ...any)
- func Fatalf(f string, args ...interface{})
- func Info(args ...any)
- func Infof(f string, args ...interface{})
- func IsLevelEnabled(lvl liblog.Level) bool
- func Renderer() *lipgloss.Renderer
- func SetDiversion(ch chan liblog.Entry)
- func SetLevel(lvl liblog.Level)
- func Setup()
- func Trace(args ...any)
- func TraceTiming(name string) func()
- func TraceTimingDone(name string) func()
- func Tracef(f string, args ...interface{})
- func Warn(args ...any)
- func Warnf(f string, args ...interface{})
- func Writer() *os.File
- type Level
Constants ¶
View Source
const ( InvalidLevel = liblog.InvalidLevel TraceLevel = liblog.TraceLevel DebugLevel = liblog.DebugLevel InfoLevel = liblog.InfoLevel WarnLevel = liblog.WarnLevel ErrorLevel = liblog.ErrorLevel PanicLevel = liblog.PanicLevel FatalLevel = liblog.FatalLevel )
Variables ¶
View Source
var ParseLevel = liblog.ParseLevel
Functions ¶
func IsLevelEnabled ¶
func SetDiversion ¶
func TraceTiming ¶
func TraceTiming(name string) func()
func TraceTimingDone ¶
func TraceTimingDone(name string) func()
Types ¶
Click to show internal directories.
Click to hide internal directories.