Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/frameworks/libhilog/param/include/
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);
/base/hiviewdfx/hilog/services/hilogd/
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()
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp498 static int SetLevel(PropType type, const string& suffix, uint16_t lvl) in SetLevel() argument
501 return key == "" ? RET_FAIL : (PropertySet(key, LogLevel2ShortStr(lvl))); in SetLevel()
519 int SetGlobalLevel(uint16_t lvl) in SetGlobalLevel() argument
521 return SetLevel(PropType::PROP_GLOBAL_LOG_LEVEL, "", lvl); in SetGlobalLevel()
524 int SetTagLevel(const std::string& tag, uint16_t lvl) in SetTagLevel() argument
526 return SetLevel(PropType::PROP_TAG_LOG_LEVEL, tag, lvl); in SetTagLevel()
529 int SetDomainLevel(uint32_t domain, uint16_t lvl) in SetDomainLevel() argument
531 return SetLevel(PropType::PROP_DOMAIN_LOG_LEVEL, Uint2HexStr(domain), lvl); in SetDomainLevel()