hiviewdfx_hilog/0004-close-private-print-in-hilog.cpp-file.patch
2023-10-26 16:47:41 +08:00

26 lines
748 B
Diff

From 4109037a7f708c6d23ccdff64a5638ef592c7598 Mon Sep 17 00:00:00 2001
From: heppen <hepeng68@huawei.com>
Date: Mon, 31 Jul 2023 10:24:25 +0800
Subject: [PATCH] Close private print in hilog.cpp file
---
frameworks/libhilog/hilog.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/libhilog/hilog.cpp b/frameworks/libhilog/hilog.cpp
index e58c6d6..8da82c5 100644
--- a/frameworks/libhilog/hilog.cpp
+++ b/frameworks/libhilog/hilog.cpp
@@ -77,7 +77,7 @@ int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int
char *logBuf = buf;
int traceBufLen = 0;
int ret;
- bool priv = true;
+ bool priv = false;
#ifdef __clang__
/* code specific to clang compiler */
--
2.33.0