optimize log tool

This commit is contained in:
hoteas
2021-05-25 05:28:56 +08:00
parent df07afb744
commit 770f0a94c9
4 changed files with 12 additions and 11 deletions
-1
View File
@@ -21,7 +21,6 @@ func GetLog(path string, showCodeLine bool) *log.Logger {
loger := log.New()
loger.SetFormatter(&log.TextFormatter{})
loger.AddHook(&hook)
loger.Print("dasdasdas")
return loger
}