Versions in this module Expand all Collapse all v0 v0.1.0 Nov 22, 2021 Changes in this version + const RotateTimeDaily + const RotateTimeHourly + const WriterConsole + const WriterFile + func Error(args ...interface{}) + func Errorf(format string, args ...interface{}) + func Info(args ...interface{}) + func Infof(format string, args ...interface{}) + func Warn(args ...interface{}) + func Warnf(format string, args ...interface{}) + type Config struct + Development bool + DisableCaller bool + DisableStacktrace bool + Encoding string + Level string + LogBackupCount uint + LogFormatText bool + LogRollingPolicy string + LoggerErrorFile string + LoggerFile string + LoggerWarnFile string + Name string + Writers string + type Fields map[string]interface + type Logger interface + Error func(args ...interface{}) + Errorf func(format string, args ...interface{}) + Info func(args ...interface{}) + Infof func(format string, args ...interface{}) + Warn func(args ...interface{}) + Warnf func(format string, args ...interface{}) + WithFields func(keyValues Fields) Logger + func GetLogger() Logger + func Init() Logger + func WithContext(ctx context.Context) Logger + func WithFields(keyValues Fields) Logger