This commit is contained in:
2022-03-01 13:50:13 +08:00
parent 8eab9943e9
commit d2cabd7d58
113 changed files with 7925 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package common
import "github.com/druidcaesa/gotool"
func ErrorLog(v ...interface{}) {
gotool.Logs.ErrorLog().Println(v)
}
func FatalfLog(format string, v ...interface{}) {
gotool.Logs.ErrorLog().Fatalf(format, v)
}
func InfoLog(v ...interface{}) {
gotool.Logs.InfoLog().Println(v)
}
func InfoLogf(format string, v ...interface{}) {
gotool.Logs.InfoLog().Printf(format+"\n", v)
}
func DebugLogf(format string, v ...interface{}) {
gotool.Logs.DebugLog().Printf(format+"\n", v)
}