Projects
home:Eustace:branches:Eulaceura:Factory
hiviewdfx_hilog
_service:obs_scm:0003-feat-set-priv-false.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0003-feat-set-priv-false.patch of Package hiviewdfx_hilog
From bcefda18f27ea4c427ad11ac1ae373e503787fca Mon Sep 17 00:00:00 2001 From: tian2020 <tian_hang@hoperun.com> Date: Thu, 15 Jun 2023 10:52:07 +0800 Subject: [PATCH 3/3] feat set priv false --- frameworks/libhilog/hilog_printf.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frameworks/libhilog/hilog_printf.cpp b/frameworks/libhilog/hilog_printf.cpp index 1316128..ccfef1d 100644 --- a/frameworks/libhilog/hilog_printf.cpp +++ b/frameworks/libhilog/hilog_printf.cpp @@ -219,12 +219,7 @@ int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int } /* format log string */ -#if not (defined( __WINDOWS__ ) || defined( __MAC__ ) || defined( __LINUX__ )) - bool debug = IsDebugOn(); - bool priv = (!debug) && IsPrivateSwitchOn(); -#else - bool priv = true; -#endif + bool priv = false; #ifdef __clang__ /* code specific to clang compiler */ -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2