Documentation ¶
Index ¶
- Variables
- func CheckFatal(err error)
- func CheckPanic(err error)
- func DPanic(args ...interface{})
- func DPanicf(template string, args ...interface{})
- func DPanicw(msg string, keysAndValues ...interface{})
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func Info(args ...interface{})
- func InfoW(msg string, keysAndValues ...interface{})
- func Infof(template string, args ...interface{})
- func InitLogger(isDebug bool) *zap.SugaredLogger
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- func Sync()
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IsDebug = true
)
Functions ¶
func CheckFatal ¶
func CheckFatal(err error)
func CheckPanic ¶
func CheckPanic(err error)
func InitLogger ¶
func InitLogger(isDebug bool) *zap.SugaredLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.