Versions in this module Expand all Collapse all v2 v2.0.7 Sep 17, 2021 v2.0.6 Sep 16, 2021 Changes in this version + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const PanicLevel + const WarnLevel + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Error(v ...interface{}) + func Errorf(format string, v ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Init(logPath string, level Level) + func Panic(v ...interface{}) + func Panicf(format string, v ...interface{}) + func SetLogger(logger Logger) + func Warn(v ...interface{}) + func Warnf(format string, v ...interface{}) + type Level int8 + func (l *Level) UnmarshalText(text []byte) error + type Logger interface + Debug func(v ...interface{}) + Debugf func(format string, v ...interface{}) + Error func(v ...interface{}) + Errorf func(format string, v ...interface{}) + Fatal func(v ...interface{}) + Fatalf func(format string, v ...interface{}) + Info func(v ...interface{}) + Infof func(format string, v ...interface{}) + Panic func(v ...interface{}) + Panicf func(format string, v ...interface{}) + Warn func(v ...interface{}) + Warnf func(format string, v ...interface{}) + func GetLogger() Logger