Lines Matching refs:domain
87 static uint16_t GetFinalLevel(unsigned int domain, const std::string& tag) in GetFinalLevel() argument
94 if ((domain >= DOMAIN_APP_MIN) && (domain <= DOMAIN_APP_MAX)) { in GetFinalLevel()
104 uint16_t domainLevel = GetDomainLevel(domain); in GetFinalLevel()
154 .domain = header.domain, in PrintLog()
173 int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int domain, const char … in HiLogPrintArgs() argument
176 if ((type != LOG_APP) && ((domain < DOMAIN_OS_MIN) || (domain > DOMAIN_OS_MAX))) { in HiLogPrintArgs()
179 if (!HiLogIsLoggable(domain, tag, level)) { in HiLogPrintArgs()
267 header.domain = domain; in HiLogPrintArgs()
300 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt,… in HiLogPrint() argument
305 ret = HiLogPrintArgs(type, level, domain, tag, fmt, ap); in HiLogPrint()
310 bool HiLogIsLoggable(unsigned int domain, const char *tag, LogLevel level) in HiLogIsLoggable() argument
312 …if ((level <= LOG_LEVEL_MIN) || (level >= LOG_LEVEL_MAX) || (tag == nullptr) || (domain >= DOMAIN_… in HiLogIsLoggable()
315 if (level < GetFinalLevel(domain, tag)) { in HiLogIsLoggable()