Home
last modified time | relevance | path

Searched refs:lvl (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_stats.cpp35 static inline int idxLvl(uint16_t lvl) in idxLvl() argument
37 return static_cast<int>(lvl) - LevelBase; in idxLvl()
66 int lvl = idxLvl(info.level); in UpdateStats() local
67 entry.lines[lvl]++; in UpdateStats()
68 entry.len[lvl] += info.len; in UpdateStats()
113 int lvl = idxLvl(info.level); in StatsInfo2NewStatsEntry() local
114 entry.lines[lvl] = 1; in StatsInfo2NewStatsEntry()
115 entry.len[lvl] = info.len; in StatsInfo2NewStatsEntry()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/include/
H A Dproperties.h52 int SetGlobalLevel(uint16_t lvl);
53 int SetTagLevel(const std::string& tag, uint16_t lvl);
54 int SetDomainLevel(uint32_t domain, uint16_t lvl);
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/param/
H A Dproperties.cpp501 static int SetLevel(PropType type, const string& suffix, uint16_t lvl) in SetLevel() argument
504 return key == "" ? RET_FAIL : (PropertySet(key, LogLevel2ShortStr(lvl))); in SetLevel()
522 int SetGlobalLevel(uint16_t lvl) in SetGlobalLevel() argument
524 return SetLevel(PropType::PROP_GLOBAL_LOG_LEVEL, "", lvl); in SetGlobalLevel()
527 int SetTagLevel(const std::string& tag, uint16_t lvl) in SetTagLevel() argument
529 return SetLevel(PropType::PROP_TAG_LOG_LEVEL, tag, lvl); in SetTagLevel()
532 int SetDomainLevel(uint32_t domain, uint16_t lvl) in SetDomainLevel() argument
534 return SetLevel(PropType::PROP_DOMAIN_LOG_LEVEL, Uint2HexStr(domain), lvl); in SetDomainLevel()