Documentation
¶
Index ¶
- type Field
- type Fields
- func (t *Fields) Any(key string, value interface{}) *Fields
- func (t *Fields) Binary(key string, val []byte) *Fields
- func (t *Fields) Bool(key string, val bool) *Fields
- func (t *Fields) ByteString(key string, val []byte) *Fields
- func (t *Fields) Complex128(key string, val complex128) *Fields
- func (t *Fields) Complex64(key string, val complex64) *Fields
- func (t *Fields) Duration(key string, val time.Duration) *Fields
- func (t *Fields) Float32(key string, val float32) *Fields
- func (t *Fields) Float64(key string, val float64) *Fields
- func (t *Fields) Int(key string, val int) *Fields
- func (t *Fields) Int16(key string, val int16) *Fields
- func (t *Fields) Int32(key string, val int32) *Fields
- func (t *Fields) Int64(key string, val int64) *Fields
- func (t *Fields) Int8(key string, val int8) *Fields
- func (t *Fields) Msg(format string, a ...interface{}) *Fields
- func (t *Fields) Object(key string, val zapcore.ObjectMarshaler) *Fields
- func (t *Fields) Reflect(key string, val interface{}) *Fields
- func (t *Fields) Skip() *Fields
- func (t *Fields) Stack(key string) *Fields
- func (t *Fields) String(key string, val string) *Fields
- func (t *Fields) Stringer(key string, val fmt.Stringer) *Fields
- func (t *Fields) Time(key string, val time.Time) *Fields
- func (t *Fields) Uint(key string, val uint) *Fields
- func (t *Fields) Uint16(key string, val uint16) *Fields
- func (t *Fields) Uint32(key string, val uint32) *Fields
- func (t *Fields) Uint64(key string, val uint64) *Fields
- func (t *Fields) Uint8(key string, val uint8) *Fields
- type Option
- type Xlog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fields ¶
func (*Fields) Complex128 ¶
func (t *Fields) Complex128(key string, val complex128) *Fields
type Xlog ¶
type Xlog interface { DebugFn(msg string, fn func(fields *Fields)) InfoFn(msg string, fn func(fields *Fields)) WarnFn(msg string, fn func(fields *Fields)) ErrorFn(msg string, fn func(fields *Fields)) DPanicFn(msg string, fn func(fields *Fields)) PanicFn(msg string, fn func(fields *Fields)) FatalFn(msg string, fn func(fields *Fields)) Debug(msg string, fields ...Field) Info(msg string, fields ...Field) Warn(msg string, fields ...Field) Warning(msg string, fields ...Field) Error(msg string, fields ...Field) DPanic(msg string, fields ...Field) Panic(msg string, fields ...Field) Fatal(msg string, fields ...Field) Debugf(format string, a ...interface{}) Infof(format string, a ...interface{}) Warningf(format string, a ...interface{}) Errorf(format string, a ...interface{}) Panicf(format string, a ...interface{}) Fatalf(format string, a ...interface{}) DPanicf(format string, a ...interface{}) Named(s string, opts ...zap.Option) Xlog With(fields ...Field) Xlog Sync() error }
Click to show internal directories.
Click to hide internal directories.