Searched refs:UpdateLogLevel (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/update/updateservice/foundations/ability/log/src/ |
H A D | update_log.cpp | 20 UpdateLogLevel UpdateLog::level_ = UpdateLogLevel::UPDATE_INFO; 24 bool UpdateLog::JudgeLevel(const UpdateLogLevel &level) in JudgeLevel() 26 const UpdateLogLevel &curLevel = GetLogLevel(); in JudgeLevel() 33 void UpdateLog::SetLogLevel(const UpdateLogLevel &level) in SetLogLevel() 38 const UpdateLogLevel &UpdateLog::GetLogLevel() in GetLogLevel() 82 case UpdateLogLevel::UPDATE_DEBUG: in PrintSingleLine() 86 case UpdateLogLevel::UPDATE_INFO: in PrintSingleLine() 90 case UpdateLogLevel::UPDATE_ERROR: in PrintSingleLine()
|
/ohos5.0/base/update/updateservice/foundations/ability/log/include/ |
H A D | update_log.h | 47 enum class UpdateLogLevel { enum 57 UpdateLogLevel level; 82 static bool JudgeLevel(const UpdateLogLevel &level); 83 static void SetLogLevel(const UpdateLogLevel &level); 84 static const UpdateLogLevel &GetLogLevel(); 96 static UpdateLogLevel level_; 123 …UpdateLogLevel::UPDATE_DEBUG, std::string(fmt), std::string(args), std::string(__FILE__), __LINE__… 125 …UpdateLogLevel::UPDATE_INFO, std::string(fmt), std::string(args), std::string(__FILE__), __LINE__}) 127 …UpdateLogLevel::UPDATE_ERROR, std::string(fmt), std::string(args), std::string(__FILE__), __LINE__…
|
/ohos5.0/base/update/updateservice/foundations/ability/log/src/test/unittest/src/ |
H A D | update_log_test.cpp | 39 ASSERT_TRUE(UpdateLog().JudgeLevel(UpdateLogLevel::UPDATE_INFO)); 50 UpdateLogLevel level = UpdateLogLevel::UPDATE_DEBUG; 63 UpdateLogLevel level = UpdateLogLevel::UPDATE_ERROR;
|