Versions in this module Expand all Collapse all v0 v0.1.0 Nov 10, 2019 Changes in this version + const DEBUG + const ERROR + const INFO + const STDERR + const STDOUT + var LoggerDefault = NewZapLoggerDefault() + func Debug(ctx context.Context, msg string, values ...Value) + func Error(ctx context.Context, msg string, values ...Value) + func Info(ctx context.Context, msg string, values ...Value) + func NewDriver(logger zapLogger) zapDriver + func NewZapLogger(level Level, output Out) (*zap.Logger, error) + func SetLoggerDefault(logger Logger) error + type Driver interface + Close func() + Log func(Level, string) LogWriter + type Level string + func (l *Level) Set(value string) error + func (l Level) String() string + type LogWriter interface + Write func(...Value) + type Logger interface + Debug func(context.Context, string, ...Value) + Error func(context.Context, string, ...Value) + Info func(context.Context, string, ...Value) + func New(driver Driver) Logger + func NewZapLoggerDefault() Logger + type Out string + func (o *Out) Set(value string) error + func (o Out) String() string + type Value struct + func NewValue(name string, value interface{}) Value