Versions in this module Expand all Collapse all v1 v1.0.2 Jun 30, 2022 Changes in this version + const KeyRequestID + const KeyUsername + const KeyWatcherName + var Any = zap.Any + var Array = zap.Array + var Binary = zap.Binary + var Bool = zap.Bool + var Bools = zap.Bools + var ByteString = zap.ByteString + var ByteStrings = zap.ByteStrings + var Complex128 = zap.Complex128 + var Complex128s = zap.Complex128s + var Complex64 = zap.Complex64 + var Complex64s = zap.Complex64s + var DebugLevel = zapcore.DebugLevel + var Duration = zap.Duration + var Durations = zap.Durations + var Err = zap.Error + var ErrorLevel = zapcore.ErrorLevel + var Errors = zap.Errors + var FatalLevel = zapcore.FatalLevel + var Float32 = zap.Float32 + var Float32s = zap.Float32s + var Float64 = zap.Float64 + var Float64s = zap.Float64s + var InfoLevel = zapcore.InfoLevel + var Int = zap.Int + var Int16 = zap.Int16 + var Int16s = zap.Int16s + var Int32 = zap.Int32 + var Int32s = zap.Int32s + var Int64 = zap.Int64 + var Int64s = zap.Int64s + var Int8 = zap.Int8 + var Int8s = zap.Int8s + var Ints = zap.Ints + var Namespace = zap.Namespace + var Object = zap.Object + var PanicLevel = zapcore.PanicLevel + var Reflect = zap.Reflect + var Stack = zap.Stack + var String = zap.String + var Stringer = zap.Stringer + var Strings = zap.Strings + var Time = zap.Time + var Times = zap.Times + var Uint = zap.Uint + var Uint16 = zap.Uint16 + var Uint16s = zap.Uint16s + var Uint32 = zap.Uint32 + var Uint32s = zap.Uint32s + var Uint64 = zap.Uint64 + var Uint64s = zap.Uint64s + var Uint8 = zap.Uint8 + var Uint8s = zap.Uint8s + var Uintptr = zap.Uintptr + var Uintptrs = zap.Uintptrs + var Uints = zap.Uints + var WarnLevel = zapcore.WarnLevel + func CheckIntLevel(level int32) bool + func Debug(msg string, fields ...Field) + func Debugf(format string, v ...interface{}) + func Debugw(msg string, keysAndValues ...interface{}) + func Error(msg string, fields ...Field) + func Errorf(format string, v ...interface{}) + func Errorw(msg string, keysAndValues ...interface{}) + func Fatal(msg string, fields ...Field) + func Fatalf(format string, v ...interface{}) + func Fatalw(msg string, keysAndValues ...interface{}) + func Flush() + func Info(msg string, fields ...Field) + func Infof(format string, v ...interface{}) + func Infow(msg string, keysAndValues ...interface{}) + func Init(opts *Options) + func L(ctx context.Context) *zapLogger + func New(opts *Options) *zapLogger + func Panic(msg string, fields ...Field) + func Panicf(format string, v ...interface{}) + func Panicw(msg string, keysAndValues ...interface{}) + func StdErrLogger() *log.Logger + func StdInfoLogger() *log.Logger + func SugaredLogger() *zap.SugaredLogger + func Warn(msg string, fields ...Field) + func Warnf(format string, v ...interface{}) + func Warnw(msg string, keysAndValues ...interface{}) + func WithContext(ctx context.Context) context.Context + func ZapLogger() *zap.Logger + type Field = zapcore.Field + type InfoLogger interface + Enabled func() bool + Info func(msg string, fields ...Field) + Infof func(format string, val ...interface{}) + Infow func(msg string, keysAndValues ...interface{}) + func V(level Level) InfoLogger + type Level = zapcore.Level + type Logger interface + Debug func(msg string, fields ...Field) + Debugf func(format string, val ...interface{}) + Debugw func(msg string, keysAndValues ...interface{}) + Error func(msg string, fields ...Field) + Errorf func(format string, v ...interface{}) + Errorw func(msg string, keysAndValues ...interface{}) + Fatal func(msg string, fields ...Field) + Fatalf func(format string, v ...interface{}) + Fatalw func(msg string, keysAndValues ...interface{}) + Flush func() + Panic func(msg string, fields ...Field) + Panicf func(format string, v ...interface{}) + Panicw func(msg string, keysAndValues ...interface{}) + V func(level Level) InfoLogger + Warn func(msg string, fields ...Field) + Warnf func(format string, v ...interface{}) + Warnw func(msg string, keysAndValues ...interface{}) + WithContext func(ctx context.Context) context.Context + WithName func(name string) Logger + WithValues func(keysAndValues ...interface{}) Logger + Write func(p []byte) (n int, err error) + func FromContext(ctx context.Context) Logger + func NewLogger(l *zap.Logger) Logger + func WithName(s string) Logger + func WithValues(keysAndValues ...interface{}) Logger + type Options struct + Development bool + DisableCaller bool + EnableColor bool + ErrorOutputPaths []string + Format string + Level string + Name string + OutputPaths []string + Rolling bool + RollingCompress bool + RollingLocalTime bool + RollingMaxAge int + RollingMaxBackups int + RollingMaxSize int + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) String() string + func (o *Options) Validate() []error