package log import ( "github.com/linmadan/egglib-go/log" "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/constant" ) var Logger log.Logger func init() { //Logger = logrus.NewLogrusLogger() //Logger.SetLevel(constant.LOG_LEVEL) Logger = NewBeegoLog(LoggerConfig{ Filename: "debug.log", Level: 7, MaxSize: 1024 * 1024 * 2, }) Logger.SetServiceName(constant.SERVICE_NAME) }