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 | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/logc.go b/logc.go
index 28966dc..f1fc460 100644
--- a/logc.go
+++ b/logc.go
@@ -87,7 +87,9 @@
}
func SaveScheduleLog(category, level int, timeout time.Duration, msg string) {
-
+ if msg == "" {
+ return
+ }
}
--
Gitblit v1.8.0