Searched refs:UpdateLogLevel (Results 1 – 2 of 2) sorted by relevance
/base/update/updateservice/services/core/ability/log/include/ |
D | update_log.h | 31 enum class UpdateLogLevel { enum 41 UpdateLogLevel level; 60 static bool JudgeLevel(const UpdateLogLevel &level); 61 static void SetLogLevel(const UpdateLogLevel &level); 62 static const UpdateLogLevel &GetLogLevel(); 74 static UpdateLogLevel level_; 86 #define PRINT_LOGD(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_DEBUG, Debug, fmt, ##__… 87 #define PRINT_LOGI(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_INFO, Info, fmt, ##__VA… 88 #define PRINT_LOGE(label, fmt, ...) PRINT_LOG(label, UpdateLogLevel::UPDATE_ERROR, Error, fmt, ##__… 95 …UpdateLogLevel::UPDATE_DEBUG, std::string(fmt), std::string(args), std::string(__FILE__), __LINE__… [all …]
|
/base/update/updateservice/services/core/ability/log/src/ |
D | update_log.cpp | 20 UpdateLogLevel UpdateLog::level_ = UpdateLogLevel::UPDATE_INFO; 28 bool UpdateLog::JudgeLevel(const UpdateLogLevel &level) in JudgeLevel() 30 const UpdateLogLevel &curLevel = GetLogLevel(); in JudgeLevel() 37 void UpdateLog::SetLogLevel(const UpdateLogLevel &level) in SetLogLevel() 42 const UpdateLogLevel &UpdateLog::GetLogLevel() in GetLogLevel() 85 case UpdateLogLevel::UPDATE_DEBUG: in PrintSingleLine() 90 case UpdateLogLevel::UPDATE_INFO: in PrintSingleLine() 95 case UpdateLogLevel::UPDATE_ERROR: in PrintSingleLine()
|