Documentation ¶
Index ¶
- func DPanic(msg string, fields ...Field)
- func Debug(msg string, fields ...Field)
- func Error(err error, fields ...Field)
- func Errorf(template string, args ...interface{})
- func Fatal(msg string, fields ...Field)
- func Fatalf(template string, args ...interface{})
- func Info(msg string, fields ...Field)
- func Infof(template string, args ...interface{})
- func Init(c config.Log) *zap.Logger
- func Panic(msg error, fields ...Field)
- func Panicf(template string, args ...interface{})
- func Sync()
- func Warn(msg string, fields ...Field)
- func Warnf(template string, args ...interface{})
- type Field
- func Any(key string, value interface{}) Field
- func Binary(key string, val []byte) Field
- func Bool(key string, val bool) Field
- func ByteString(key string, val []byte) Field
- func Duration(key string, val time.Duration) Field
- func Float32(key string, val float32) Field
- func Float64(key string, val float64) Field
- func Int(key string, val int) Field
- func Int16(key string, val int16) Field
- func Int32(key string, val int32) Field
- func Int64(key string, val int64) Field
- func Int8(key string, val int8) Field
- func String(key string, val string) Field
- func Strings(key string, val []string) Field
- func Time(key string, val time.Time) Field
- func Uint(key string, val uint) Field
- func Uint16(key string, val uint16) Field
- func Uint32(key string, val uint32) Field
- func Uint64(key string, val uint64) Field
- func Uint8(key string, val uint8) Field
- func Uintptr(key string, val uintptr) Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.