mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: code review
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
var Log = logrus.New()
|
||||
|
||||
func init() {
|
||||
func Init() {
|
||||
Log.SetFormatter(new(LogFormatter))
|
||||
Log.SetReportCaller(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user