Documentation ¶
Index ¶
- Variables
- func Debug(a ...interface{})
- func DebugKVs(fields ...kv.Field)
- func Debugf(s string, a ...interface{})
- func Error(a ...interface{})
- func ErrorKVs(fields ...kv.Field)
- func Errorf(s string, a ...interface{})
- func Fatal(a ...interface{})
- func FatalKVs(fields ...kv.Field)
- func Fatalf(s string, a ...interface{})
- func Flags() logger.Flags
- func Info(a ...interface{})
- func InfoKVs(fields ...kv.Field)
- func Infof(s string, a ...interface{})
- func Level() level.LEVEL
- func Log(calldepth int, lvl level.LEVEL, a ...interface{})
- func LogKVs(calldepth int, lvl level.LEVEL, fields ...kv.Field)
- func Logf(calldepth int, lvl level.LEVEL, s string, a ...interface{})
- func Panic(a ...interface{})
- func PanicKVs(fields ...kv.Field)
- func Panicf(s string, a ...interface{})
- func Print(a ...interface{})
- func PrintKVs(fields ...kv.Field)
- func Printf(s string, a ...interface{})
- func SetFlags(flags logger.Flags)
- func SetFormat(format entry.Formatter)
- func SetLevel(lvl level.LEVEL)
- func SetOutput(out io.Writer)
- func Trace(a ...interface{})
- func TraceKVs(fields ...kv.Field)
- func Tracef(s string, a ...interface{})
- func Warn(a ...interface{})
- func WarnKVs(fields ...kv.Field)
- func Warnf(s string, a ...interface{})
- func Writer() io.Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = logger.NewWith( os.Stderr, logger.Config{Calldepth: 1}, level.ALL, logger.Flags(0).SetTime(), )
Logger is the global logger instance.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.