Searched refs:fmtLabel (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/update/updateservice/foundations/ability/log/src/ |
H A D | update_log.cpp | 58 std::string fmtLabel = GetFmtLabel(logContent.log); in PrintLongLog() local 59 std::pair<std::string, std::string> splitLogPair = SplitLogByFmtLabel(logContent.log, fmtLabel); in PrintLongLog() 62 …PrintLog(subModuleTag, logContent.BuildWithFmtAndArgs(fmtLabel, logContent.args)); … in PrintLongLog() 80 std::string fmtLabel = GetFmtLabel(logContent.log); in PrintSingleLine() local 99 …ng, std::string> UpdateLog::SplitLogByFmtLabel(const std::string &log, const std::string &fmtLabel) in SplitLogByFmtLabel() argument 101 if (fmtLabel.empty()) { in SplitLogByFmtLabel() 105 return std::make_pair(log.substr(0, log.find(fmtLabel, 0)), log.substr(log.find(fmtLabel, 0) + in SplitLogByFmtLabel() 106 fmtLabel.length())); in SplitLogByFmtLabel()
|
/ohos5.0/base/update/updateservice/foundations/ability/log/include/ |
H A D | update_log.h | 91 …<std::string, std::string> SplitLogByFmtLabel(const std::string &log, const std::string &fmtLabel);
|