Documentation ¶
Index ¶
- Variables
- func Build() error
- func Debug(msg string, field ...Field)
- func Debugf(template string, args ...interface{})
- func Error(msg string, field ...Field)
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Info(msg string, field ...Field)
- func Infof(template string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func NewZapLogErrorHandler() *logErrorHandler
- func Panic(msg string, field ...Field)
- func Panicf(template string, args ...interface{})
- func Warn(msg string, field ...Field)
- func Warnf(template string, args ...interface{})
- type Config
- type Field
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Bool = zap.Bool Bools = zap.Bools String = zap.String Strings = zap.Strings ByteString = zap.ByteString ByteStrings = zap.ByteStrings Any = zap.Any Array = zap.Array Int = zap.Int Ints = zap.Ints Uint = zap.Uint Uints = zap.Uints Int64 = zap.Int64 Int64s = zap.Int64s Uint64 = zap.Uint64 Uint64s = zap.Uint64s Int32 = zap.Int32 Int32s = zap.Int32s Uint32 = zap.Uint32 Uint32s = zap.Uint32s Int16 = zap.Int16 Int16s = zap.Int16s Uint16 = zap.Uint16 Uint16s = zap.Uint16s Int8 = zap.Int8 Int8s = zap.Int8s Uint8 = zap.Uint8 Uint8s = zap.Uint8s Float64 = zap.Float64 Float64s = zap.Float64s Float32 = zap.Float32 Float32s = zap.Float32s Duration = zap.Duration Durations = zap.Durations Time = zap.Time Times = zap.Times Object = zap.Object FieldErr = zap.Error FieldErrs = zap.Errors )
Functions ¶
func NewZapLogErrorHandler ¶
func NewZapLogErrorHandler() *logErrorHandler
Types ¶
Click to show internal directories.
Click to hide internal directories.