Versions in this module Expand all Collapse all v0 v0.1.0 Mar 2, 2022 Changes in this version + var Any = zap.Any + func C(ctx context.Context) *zapLogger + 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 New(opts *Options) *zapLogger + func Panic(msg string, fields ...Field) + func Panicf(format string, v ...interface{}) + func Panicw(msg string, keysAndValues ...interface{}) + 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 + type Field = zapcore.Field + type Level = zapcore.Level + type Logger interface + Debug func(msg string, fields ...Field) + Debugf func(format string, v ...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() + Info func(msg string, fields ...Field) + Infof func(format string, v ...interface{}) + Infow func(msg string, keysAndValues ...interface{}) + Panic func(msg string, fields ...Field) + Panicf func(format string, v ...interface{}) + Panicw func(msg string, keysAndValues ...interface{}) + 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(string) Logger + WithValues func(keysAndValue ...interface{}) Logger + 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 + CommonFields []string + Development bool + DisableCaller bool + DisableStacktrace bool + EnableColor bool + ErrorOutputPaths []string + Format string + Level string + Name string + OutputPaths []string + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) String() string + func (o *Options) Validate() []error v0.1.0-alpha Mar 2, 2022