Versions in this module Expand all Collapse all v0 v0.1.0 Jul 14, 2019 Changes in this version + var DefaultLogger = NewNopLogger() + type Field = zapcore.Field + func Duration(k string, d time.Duration) Field + func Error(v error) Field + func Float64(key string, val float64) Field + func Int(k string, i int) Field + func Int64(k string, i int64) Field + func Object(key string, val zapcore.ObjectMarshaler) Field + func String(k, v string) Field + func Time(key string, val time.Time) Field + type Logger interface + Debug func(context.Context, string, ...Field) + Error func(context.Context, string, ...Field) + Info func(context.Context, string, ...Field) + Panic func(context.Context, string, ...Field) + Sync func() error + With func(fields ...Field) Logger + func NewDevelopmentLogger() (Logger, error) + func NewNopLogger() Logger + func NewProductionLogger() (Logger, error) + type ObjectEncoder = zapcore.ObjectEncoder