Documentation
¶
Index ¶
- func DPanic(msg string, fields ...zap.Field)
- func DPanicf(template string, args ...interface{})
- func DPanicln(args ...interface{})
- func DPanicw(msg string, keysAndValues ...interface{})
- func Debug(msg string, fields ...zap.Field)
- func Debugf(template string, args ...interface{})
- func Debugln(args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Error(msg string, fields ...zap.Field)
- func Errorf(template string, args ...interface{})
- func Errorln(args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(msg string, fields ...zap.Field)
- func Fatalf(template string, args ...interface{})
- func Fatalln(args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func Info(msg string, fields ...zap.Field)
- func Infof(template string, args ...interface{})
- func Infoln(args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func Panic(msg string, fields ...zap.Field)
- func Panicf(template string, args ...interface{})
- func Panicln(args ...interface{})
- func Panicw(msg string, keysAndValues ...interface{})
- func PrintBasicDetails()
- func SetLogLevel(level zapcore.Level)
- func Sync()
- func Warn(msg string, fields ...zap.Field)
- func Warnf(template string, args ...interface{})
- func Warnln(args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugln ¶
func Debugln(args ...interface{})
Debugln
PS: Spaces are always added between arguments.(传参间会加上" ")
func Debugw ¶
func Debugw(msg string, keysAndValues ...interface{})
Debugw 结构化输出的信息日志,使用键值对的方式输出,更加适合记录结构化数据.
@param keysAndValues e.g. "key", "value", "flag", true
func PrintBasicDetails ¶
func PrintBasicDetails()
func SetLogLevel ¶ added in v3.26.115
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.