Versions in this module Expand all Collapse all v1 v1.7.20 Dec 10, 2019 Changes in this version + func AddHook(hook logrus.Hook) + func CloseFile() error + func Context(context interface{}) *logrus.Entry + func CustomWriterLevel(level logrus.Level, maxScanTokenSize int) *io.PipeWriter + func Debug(args ...interface{}) + func Debugf(format string, args ...interface{}) + func Debugln(args ...interface{}) + func Error(args ...interface{}) + func Errorf(format string, args ...interface{}) + func Errorln(args ...interface{}) + func Fatal(args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Fatalln(args ...interface{}) + func GetLevel() logrus.Level + func Info(args ...interface{}) + func Infof(format string, args ...interface{}) + func Infoln(args ...interface{}) + func OpenFile(path string) error + func Panic(args ...interface{}) + func Panicf(format string, args ...interface{}) + func Panicln(args ...interface{}) + func Print(args ...interface{}) + func Printf(format string, args ...interface{}) + func Println(args ...interface{}) + func RotateFile() error + func SetFormatter(formatter logrus.Formatter) + func SetLevel(level logrus.Level) + func SetLogger(l Logger) + func SetOutput(out io.Writer) + func Warn(args ...interface{}) + func Warnf(format string, args ...interface{}) + func Warning(args ...interface{}) + func Warningf(format string, args ...interface{}) + func Warningln(args ...interface{}) + func Warnln(args ...interface{}) + func WithError(err error) *logrus.Entry + func WithField(key string, value interface{}) *logrus.Entry + func WithFields(fields logrus.Fields) *logrus.Entry + func Writer() *io.PipeWriter + func WriterLevel(level logrus.Level) *io.PipeWriter + type Logger interface + WriterLevel func(logrus.Level) *io.PipeWriter