format code

This commit is contained in:
MaysWind
2020-12-26 00:17:14 +08:00
parent 922582d60d
commit 02ea0ce517
+1
View File
@@ -172,6 +172,7 @@ func SqlQuery(args ...interface{}) {
sqlQueryLogger.Info(args...)
}
}
// SqlQueryf logs sql query log with custom format
func SqlQueryf(format string, args ...interface{}) {
if sqlQueryLogger != nil {