Documentation
¶
Index ¶
- func Any(key string, val interface{}) zap.Field
- func Bool(key string, val bool) zap.Field
- func ByteString(key string, val []byte) zap.Field
- func Complex128(key string, val complex128) zap.Field
- func Complex64(key string, val complex64) zap.Field
- func DPanic(fields ...interface{})
- func DPanicM(msg string, m M)
- func DPanicf(format string, a ...interface{})
- func Debug(fields ...interface{})
- func DebugM(msg string, m M)
- func Debugf(format string, a ...interface{})
- func Duration(key string, val time.Duration) zap.Field
- func Error(fields ...interface{})
- func ErrorM(msg string, m M)
- func Errorf(format string, a ...interface{})
- func Fatal(fields ...interface{})
- func FatalM(msg string, m M)
- func Fatalf(format string, a ...interface{})
- func Float32(key string, val float32) zap.Field
- func Float64(key string, val float64) zap.Field
- func Info(fields ...interface{})
- func InfoM(msg string, m M)
- func Infof(format string, a ...interface{})
- func Int(key string, val int) zap.Field
- func Int16(key string, val int16) zap.Field
- func Int32(key string, val int32) zap.Field
- func Int64(key string, val int64) zap.Field
- func Int8(key string, val int8) zap.Field
- func Named(s string, opts ...zap.Option) xlog_abc.Xlog
- func New(zl *zap.Logger) xlog_abc.Xlog
- func Object(key string, val zapcore.ObjectMarshaler) zap.Field
- func Panic(fields ...interface{})
- func PanicM(msg string, m M)
- func Panicf(format string, a ...interface{})
- func Reflect(key string, val interface{}) zap.Field
- func SetDefault(lg xlog_abc.Xlog) (err error)
- func Skip() zap.Field
- func Stack(key string) zap.Field
- func String(key string, val string) zap.Field
- func Stringer(key string, val fmt.Stringer) zap.Field
- func Sync() error
- func Time(key string, val time.Time) zap.Field
- func Uint(key string, val uint) zap.Field
- func Uint16(key string, val uint16) zap.Field
- func Uint32(key string, val uint32) zap.Field
- func Uint64(key string, val uint64) zap.Field
- func Uint8(key string, val uint8) zap.Field
- func Warn(fields ...interface{})
- func WarnM(msg string, m M)
- func Warnf(format string, a ...interface{})
- func Watch(fn func(logs xlog_abc.Xlog))
- func With(fields ...zap.Field) xlog_abc.Xlog
- type M
- type Xlog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complex128 ¶
func Complex128(key string, val complex128) zap.Field
func SetDefault ¶ added in v0.0.8
Types ¶
Directories
¶
Path | Synopsis |
---|---|
writer/rotate/file-rotatelogs
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify.
|
package rotatelogs is a port of File-RotateLogs from Perl (https://metacpan.org/release/File-RotateLogs), and it allows you to automatically rotate output files when you write to them according to the filename pattern that you can specify. |
Click to show internal directories.
Click to hide internal directories.