From 775fdc14edfbf8ec69007b2f006b9c1447e021a9 Mon Sep 17 00:00:00 2001 From: i-wangliangliang Date: Tue, 13 Dec 2022 09:57:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E5=80=BC=E9=83=BD=E6=98=AF?= =?UTF-8?q?=E5=A4=A7=E4=BA=8E0=E7=9A=84=EF=BC=8C=E4=B9=9F=E5=BF=85?= =?UTF-8?q?=E7=84=B6=E5=A4=A7=E4=BA=8EINIT=5FDEBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: i-wangliangliang Change-Id: Ief265b004e10b327663f52196bd38f95db9dd014 --- services/log/init_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/log/init_log.c b/services/log/init_log.c index f705eb84..31057f3e 100644 --- a/services/log/init_log.c +++ b/services/log/init_log.c @@ -134,7 +134,7 @@ INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, INIT_PUBLIC_API void SetInitLogLevel(InitLogLevel level) { - if ((level >= INIT_DEBUG) && (level <= INIT_FATAL)) { + if (level <= INIT_FATAL) { g_logLevel = level; } return; -- GitLab