Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + func Debugf(template string, args ...interface{}) + func Debugw(msg string, keysAndValues ...interface{}) + func Errorf(template string, args ...interface{}) + func Errorw(msg string, keysAndValues ...interface{}) + func Fatalf(template string, args ...interface{}) + func Fatalw(msg string, keysAndValues ...interface{}) + func Infof(template string, args ...interface{}) + func Infow(msg string, keysAndValues ...interface{}) + func Panicf(template string, args ...interface{}) + func Panicw(msg string, keysAndValues ...interface{}) + func RegisterLogger(options *Options) + func Sync() + func Warnf(template string, args ...interface{}) + func Warnw(msg string, keysAndValues ...interface{}) + type Logger interface + Debugf func(template string, args ...interface{}) + Debugw func(msg string, keysAndValues ...interface{}) + Errorf func(template string, args ...interface{}) + Errorw func(msg string, keysAndValues ...interface{}) + Fatalf func(template string, args ...interface{}) + Fatalw func(msg string, keysAndValues ...interface{}) + Infof func(template string, args ...interface{}) + Infow func(msg string, keysAndValues ...interface{}) + Panicf func(template string, args ...interface{}) + Panicw func(msg string, keysAndValues ...interface{}) + Sync func() + Warnf func(template string, args ...interface{}) + Warnw func(msg string, keysAndValues ...interface{}) + func NewLogger(opts *Options) Logger + type Options struct + CallerKey string + Compress bool + Level string + LevelKey string + MaxAge int + MaxBackups int + MaxSize int + MessageKey string + OutputPath string + TimeKey string + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) Validate() error