Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp363 static auto *tagMap = new std::unordered_map<std::string, LogLevelCache*>(); in GetTagLevel() local
365 std::decay<decltype(*tagMap)>::type::iterator it; in GetTagLevel()
368 it = tagMap->find(tag); in GetTagLevel()
370 if (it == tagMap->end()) { // new tag in GetTagLevel()
372 it = tagMap->find(tag); // secured for two thread went across above condition in GetTagLevel()
373 if (it == tagMap->end()) { in GetTagLevel()
376 auto result = tagMap->insert({ tag, levelCache }); in GetTagLevel()