From d365ad7df565d77b71d2741f403a3025e1fb0051 Mon Sep 17 00:00:00 2001
From: yanghui <yanghui@aiotlink.com>
Date: 星期二, 27 四月 2021 10:43:49 +0800
Subject: [PATCH] filter
---
logc.go | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/logc.go b/logc.go
index c08fc81..f1fc460 100644
--- a/logc.go
+++ b/logc.go
@@ -86,8 +86,10 @@
}
}
-func SaveScheduleLog(category, level int, msg string) {
-
+func SaveScheduleLog(category, level int, timeout time.Duration, msg string) {
+ if msg == "" {
+ return
+ }
}
--
Gitblit v1.8.0