Documentation ¶
Index ¶
- 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(logLevel, logFilename string, development, disableStacktrace bool) *zap.SugaredLogger
- func Logger() *zap.Logger
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(logLevel, logFilename string, development, disableStacktrace bool) *zap.SugaredLogger
InitLogger 初始化Logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.