Lines Matching refs:level
33 static boolean CheckParameters(uint8 module, uint8 level);
67 static boolean CheckParameters(uint8 module, uint8 level)
69 if ((level < g_hiviewConfig.level) || (level < HILOG_COMPILE_LEVEL) ||
109 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...)
119 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) ||
127 pCommon->level = level;
146 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...)
154 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) ||
162 pCommon->level = SET_HASH_FLAG(level);
228 return g_hiviewConfig.level;
231 boolean HiLogSetLogLevel(uint8 level)
233 if (level >= HILOG_LV_DEBUG && level < HILOG_LV_MAX) {
234 g_hiviewConfig.level = level;
235 printf("Set log level: %d\n", level);