Lines Matching refs:logLevel
39 static void LogToDmesg(const LogLevel logLevel, const char *tag, const char *info) in LogToDmesg() argument
43 int dmesgLevel = static_cast<int>(logLevel) - LOG_DEBUG; in LogToDmesg()
79 void SetLogLevel(const LogLevel logLevel) in SetLogLevel() argument
81 g_logLevel = logLevel; in SetLogLevel()
89 int DfxLogPrint(const LogLevel logLevel, const unsigned int domain, const char* tag, const char *fm… in DfxLogPrint() argument
92 if (logLevel < g_logLevel) { in DfxLogPrint()
100 ret = DfxLogPrintV(logLevel, domain, tag, fmt, args); in DfxLogPrint()
106 int DfxLogPrintV(const LogLevel logLevel, const unsigned int domain, const char* tag, const char *f… in DfxLogPrintV() argument
108 if ((logLevel < LogLevel::LOG_DEBUG) || (logLevel > LogLevel::LOG_FATAL)) { in DfxLogPrintV()
118 HiLogBasePrint(LOG_CORE, logLevel, domain, tag, "%{public}s", buf); in DfxLogPrintV()
120 HiLogPrint(LOG_CORE, logLevel, domain, tag, "%{public}s", buf); in DfxLogPrintV()
124 LogToDmesg(logLevel, tag, buf); in DfxLogPrintV()