Versions in this module Expand all Collapse all v0 v0.0.1 Jun 17, 2021 Changes in this version + const RotateTimeDaily + const RotateTimeHourly + const WriterConsole + const WriterFile + func Debug(args ...interface{}) + func Debugf(format string, args ...interface{}) + func Error(args ...interface{}) + func Errorf(format string, args ...interface{}) + func Fatal(args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Info(args ...interface{}) + func Infof(format string, args ...interface{}) + func Panicf(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 + LogRotateDate int + LogRotateSize int + LoggerErrorFile string + LoggerFile string + LoggerWarnFile string + Name string + Writers string + type Fields map[string]interface + type Logger interface + Debug func(args ...interface{}) + Debugf func(format string, args ...interface{}) + Error func(args ...interface{}) + Errorf func(format string, args ...interface{}) + Fatal func(args ...interface{}) + Fatalf func(format string, args ...interface{}) + Info func(args ...interface{}) + Infof func(format string, args ...interface{}) + Panicf 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(cfg *Config) Logger + func WithFields(keyValues Fields) Logger