1package logs 2 3import ( 4 "github.com/sirupsen/logrus" 5) 6 7func Init() { 8 config := getConfig() 9 logrus.SetLevel(config.Level) 10 logrus.SetReportCaller(config.ReportCaller) 11} 12 13