Home
last modified time | relevance | path

Searched refs:logLevel (Results 1 – 23 of 23) sorted by relevance

/developtools/profiler/host/smartperf/client/client_command/
Dsp_log.cpp36 static void SpLogOut(SpLogLevel logLevel, const char *logBuf) in SpLogOut() argument
40 switch (logLevel) { in SpLogOut()
58 switch (logLevel) { in SpLogOut()
77 void SpLog(SpLogLevel logLevel, const char *fmt, ...) in SpLog() argument
84 SpLogOut(logLevel, "SP log memset_s error."); in SpLog()
91 SpLogOut(logLevel, "SP log length error."); in SpLog()
94 SpLogOut(logLevel, logBuf); in SpLog()
/developtools/profiler/hiebpf/include/
Dlibbpf_logger.h36 static std::unique_ptr<LIBBPFLogger> MakeUnique(const std::string& logFile, int logLevel);
37 int Printf(int logLevel, const char* format, va_list args);
44 LIBBPFLogger(int logLevel):logLevel_ {logLevel} {} in LIBBPFLogger() argument
Dhhlog.h56 int Start(const int logLevel = HHLOG_DEBUG, const std::string& logFile = "./hhlog.txt");
114 int InitLogger(const int logLevel, const std::string& logFile);
/developtools/smartperf_host/ide/src/log/
DLog.ts52 public static setLogLevel(logLevel: LogLevel): void {
53 SpLog.nowLogLevel = logLevel;
61 public static logger(logLevel: LogLevel, message?: unknown, ...optionalParams: unknown[]): void {
62 if (logLevel >= SpLog.nowLogLevel) {
63 switch (logLevel) {
/developtools/profiler/hiebpf/src/
Dlibbpf_logger.cpp28 std::unique_ptr<LIBBPFLogger> LIBBPFLogger::MakeUnique(const std::string& logFile, int logLevel) in MakeUnique() argument
30 std::unique_ptr<LIBBPFLogger> logger {new(std::nothrow) LIBBPFLogger {logLevel}}; in MakeUnique()
43 int LIBBPFLogger::Printf(int logLevel, const char* format, va_list args) in Printf() argument
45 HHLOGI(true, "current libbpf log level = %d, target level = %d", logLevel, logLevel_); in Printf()
46 if (logLevel > logLevel_) { in Printf()
Dhhlog.cpp31 int HHLogger::InitLogger(const int logLevel, const std::string& logFile) in InitLogger() argument
34 logLevel_ = logLevel; in InitLogger()
74 int HHLogger::Start(const int logLevel, const std::string& logFile) in Start() argument
76 if (logLevel == HHLOG_NONE) { in Start()
82 if (InitLogger(logLevel, logFile) != 0) { in Start()
/developtools/ace_ets2bundle/compiler/src/
Dgen_aot.ts136 let logLevel: string = logHeader.trim().split(/\s+/)[logLevelIndex];
137 if (logLevel === 'F' || logLevel === 'E') {
/developtools/hdc/hdc_rust/src/cffi/
Dlog.cpp21 void PrintLogEx(const char *functionName, int line, uint8_t logLevel, const char *msg, ...) in PrintLogEx() argument
36 switch (static_cast<int>(logLevel)) { in PrintLogEx()
Dlog.h52 void PrintLogEx(const char *functionName, int line, uint8_t logLevel, const char *msg, ...);
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp52 auto logLevel = config.log_level(); in ParseConfigToCmd() local
53 if (logLevel == HiperfPluginConfig_LogLevel_MUCH) { in ParseConfigToCmd()
55 } else if (logLevel == HiperfPluginConfig_LogLevel_VERBOSE) { in ParseConfigToCmd()
57 } else if (logLevel == HiperfPluginConfig_LogLevel_DEBUG) { in ParseConfigToCmd()
/developtools/hdc/src/daemon/
Dmain.cpp157 int logLevel = atoi(optarg); in GetDaemonCommandlineOptions() local
158 if (logLevel < 0 || logLevel > LOG_LAST) { in GetDaemonCommandlineOptions()
162 Base::SetLogLevel(logLevel); in GetDaemonCommandlineOptions()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dproject_config.ts106 logLevel?: string;
180 this.logLevel = '3';
/developtools/profiler/host/smartperf/client/client_command/include/
Dsp_log.h27 void SpLog(SpLogLevel logLevel, const char *fmt, ...);
/developtools/smartperf_host/ide/test/trace/component/setting/utils/
DPluginConvertUtils.test.ts68 logLevel: levelFromJSON('Info'), variable
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/hilog/
DTabPaneHiLogSummary.ts35 private logLevel: string[] = ['Debug', 'Info', 'Warn', 'Error', 'Fatal']; property in TabPaneHiLogSummary
262 return this.logLevel.indexOf(leftData.logName!) - this.logLevel.indexOf(rightData.logName!);
/developtools/hdc/src/common/
Dbase.cpp46 void SetLogLevel(const uint8_t logLevel) in SetLogLevel() argument
48 g_logLevel = logLevel; in SetLogLevel()
72 uint8_t logLevel = static_cast<uint8_t>(atoi(env)); in GetLogLevelByEnv() local
73 if (logLevel < 0 || logLevel > LOG_LAST) { in GetLogLevelByEnv()
74 WRITE_LOG(LOG_WARN, "OHOS_HDC_LOG_LEVEL %d is not in (0, 6] range", logLevel); in GetLogLevelByEnv()
76 return logLevel; in GetLogLevelByEnv()
98 void GetLogLevelAndTime(uint8_t logLevel, string &logLevelString, string &timeString) in GetLogLevelAndTime() argument
104 switch (logLevel) { in GetLogLevelAndTime()
290 void PrintLogEx(const char *functionName, int line, uint8_t logLevel, const char *msg, ...) in PrintLogEx() argument
292 if (logLevel > g_logLevel) { in PrintLogEx()
[all …]
Dbase.h23 void SetLogLevel(const uint8_t logLevel);
25 void PrintLogEx(const char *functionName, int line, uint8_t logLevel, const char *msg, ...);
/developtools/hdc/src/host/
Dmain.cpp313 int logLevel = atoi(optarg); in GetCommandlineOptions() local
314 if (logLevel < 0 || logLevel > LOG_LAST) { in GetCommandlineOptions()
320 Base::SetLogLevel(logLevel); in GetCommandlineOptions()
/developtools/ace_js2bundle/ace-loader/
Dwebpack.lite.config.js118 process.env.logLevel = env.logLevel || '1'
Dwebpack.rich.config.js199 process.env.logLevel = env.logLevel || '1'
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpProbesConfig.ts101 let logLevel = this.shadowRoot?.getElementById('logLevel') as LitCheckBox;
102 if (logLevel.checked) {
/developtools/smartperf_host/ide/src/trace/component/setting/bean/
DProfilerServiceTypes.ts401 logLevel: Level; property
/developtools/smartperf_host/ide/src/trace/component/
DSpRecordConfigModel.ts821 logLevel: levelFromJSON(spHiLog!.appLogLevel),