Versions in this module Expand all Collapse all v1 v1.1.0 Jul 24, 2021 v1.0.0 May 10, 2021 Changes in this version + var ErrInvalidLogLevel = errors.New("invalid log level") + var ErrInvalidWriter = errors.New("log writer only support stdout/stderr/file") + 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 Init(writer, levelLab, file, format string) error + func Instance() *logrus.Logger + func Panic(args ...interface{}) + func Panicf(format string, args ...interface{}) + func Print(args ...interface{}) + func Printf(format string, args ...interface{}) + func Trace(args ...interface{}) + func Tracef(format string, args ...interface{}) + func Warn(args ...interface{}) + func Warnf(format string, args ...interface{}) + func Warning(args ...interface{}) + func Warningf(format string, args ...interface{})