Documentation ¶
Index ¶
- Constants
- func DPanic(args ...interface{})
- func DPanicf(template string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func InitLogger(logconf *ZaplogConf)
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func SetLevel(level string)
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- type ZaplogConf
Constants ¶
View Source
const CallerSkip int = 1
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(logconf *ZaplogConf)
Types ¶
type ZaplogConf ¶ added in v0.0.12
Click to show internal directories.
Click to hide internal directories.