package
0.0.0-20200406182548-06c1099839a6
Repository: https://github.com/aimo-x/sy.git
Documentation: pkg.go.dev

# Functions

New 全局日志 六种日志级别: logrus.Debug("Useful debugging information.") logrus.Info("Something noteworthy happened!") logrus.Warn("You should probably take a look at this.") logrus.Error("Something failed but I'm not quitting.") logrus.Fatal("Bye.") //log之后会调用os.Exit(1) logrus.Panic("I'm bailing.") //log之后会panic() logrus提供了New()函数来创建一个logrus的实例。 项目中,可以创建任意数量的logrus实例。.