Documentation ¶
Overview ¶
Package log is a global internal logger
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func GetLogger() log.Logger
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Log(v ...interface{})
- func Logf(format string, v ...interface{})
- func SetLevel(l Level)
- func SetLogger(l log.Logger)
- func Trace(v ...interface{})
- func Tracef(format string, v ...interface{})
- func WithLevel(l Level, v ...interface{})
- func WithLevelf(l Level, format string, v ...interface{})
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf logs with Logf and then exits with os.Exit(1)
func WithLevelf ¶
WithLevel logs with the level specified
Types ¶
Click to show internal directories.
Click to hide internal directories.