Searched refs:LogPersisterRotator (Results 1 - 4 of 4) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/ |
H A D | log_persister_rotator.cpp | 40 bool LogPersisterRotator::IsOldFile(const std::string& logName, const int index) in IsOldFile() 51 LogPersisterRotator::LogPersisterRotator(const std::string& logsPath, uint32_t id, uint32_t maxFiles, in LogPersisterRotator() function in OHOS::HiviewDFX::LogPersisterRotator 57 LogPersisterRotator::~LogPersisterRotator() in ~LogPersisterRotator() 63 int LogPersisterRotator::Init(const PersistRecoveryInfo& info, bool restore) in Init() 77 int LogPersisterRotator::OpenInfoFile() in OpenInfoFile() 92 int LogPersisterRotator::Input(const char *buf, uint32_t length) in Input() 108 void LogPersisterRotator::RemoveOldFile() in RemoveOldFile() 127 void LogPersisterRotator [all...] |
H A D | log_persister.cpp | 118 m_fileRotator = std::make_unique<LogPersisterRotator>(m_startMsg.filePath, in InitFileRotator()
|
/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | log_persister_rotator.h | 45 class LogPersisterRotator { class 47 LogPersisterRotator(const std::string& path, uint32_t id, uint32_t maxFiles, const std::string& suffix = ""); 48 ~LogPersisterRotator();
|
H A D | log_persister.h | 93 std::unique_ptr<LogPersisterRotator> m_fileRotator;
|
Completed in 2 milliseconds