Searched refs:LogStoreEx (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/base/logstore/ |
H A D | log_store_ex.cpp | 37 LogStoreEx::LogStoreEx(const std::string& path, bool autoDeleteFiles) in LogStoreEx() function in OHOS::HiviewDFX::LogStoreEx 45 bool LogStoreEx::Init() in Init() 54 void LogStoreEx::SetLogFileComparator(LogFileComparator comparator) in SetLogFileComparator() 59 void LogStoreEx::SetMaxSize(uint32_t size) in SetMaxSize() 64 void LogStoreEx::SetMinKeepingFileNumber(uint32_t number) in SetMinKeepingFileNumber() 69 const std::string& LogStoreEx::GetPath() const in GetPath() 74 std::vector<LogFile> LogStoreEx::GetLogFiles() in GetLogFiles() 105 bool LogStoreEx::Clear() in Clear() 128 void LogStoreEx::ClearOldestFilesIfNeeded() in ClearOldestFilesIfNeeded() 153 LogStoreEx::FileHandle LogStoreEx::CreateLogFile(const std::string& name) in CreateLogFile() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/ |
H A D | active_key_event_test.cpp | 64 std::shared_ptr<LogStoreEx> logStoreEx = std::make_shared<LogStoreEx>(logStorePath, true); 82 std::shared_ptr<LogStoreEx> logStoreEx = std::make_shared<LogStoreEx>(logStorePath, true); 100 std::shared_ptr<LogStoreEx> logStoreEx = std::make_shared<LogStoreEx>(logStorePath, true);
|
/ohos5.0/base/hiviewdfx/hiview/base/logstore/include/ |
H A D | log_store_ex.h | 32 class LogStoreEx { 41 LogStoreEx(const std::string& path, bool autoDeleteFiles = false); 42 ~LogStoreEx() {}; in ~LogStoreEx()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlog_manager.cpp | 44 LogStoreEx::LogFileFilter CreateLogFileFilter(time_t time, int32_t id, int32_t faultLogType, const … in CreateLogFileFilter() 46 LogStoreEx::LogFileFilter filter = [time, id, faultLogType, module](const LogFile &file) { in CreateLogFileFilter() 90 store_ = std::make_unique<LogStoreEx>(FaultLogger::DEFAULT_FAULTLOG_FOLDER, true); in Init() 91 LogStoreEx::LogFileComparator comparator = [](const LogFile &lhs, const LogFile &rhs) { in Init() 172 LogStoreEx::LogFileFilter filter = CreateLogFileFilter(time, id, faultType, module); in GetFaultLogFileList()
|
H A D | faultlog_manager.h | 52 std::unique_ptr<LogStoreEx> store_ = nullptr;
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/include/ |
H A D | active_key_event.h | 34 void Init(std::shared_ptr<LogStoreEx> logStore); 48 std::shared_ptr<LogStoreEx> logStore_;
|
H A D | event_logger.h | 48 EventLogger() : logStore_(std::make_shared<LogStoreEx>(LOGGER_EVENT_LOG_PATH, true)), in EventLogger() 101 std::shared_ptr<LogStoreEx> logStore_;
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | vendor.h | 79 std::unique_ptr<LogStoreEx> logStore_ = nullptr;
|
H A D | vendor.cpp | 329 logStore_ = std::make_unique<LogStoreEx>(FREEZE_DETECTOR_PATH, true); in Init()
|
/ohos5.0/base/hiviewdfx/hiview/base/logstore/test/unittest/common/ |
H A D | log_store_unit_test.cpp | 117 LogStoreEx logStoreEx(logStorePath);
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | active_key_event.cpp | 95 void ActiveKeyEvent::Init(std::shared_ptr<LogStoreEx> logStore) in Init()
|
H A D | event_logger.cpp | 886 LogStoreEx::LogFileComparator comparator = [this](const LogFile &lhs, const LogFile &rhs) { in OnLoad()
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | libhiviewbase.map | 75 …"OHOS::HiviewDFX::LogStoreEx::CreateLogFile(std::__h::basic_string<char, std::__h::char_traits<cha… 80 "OHOS::HiviewDFX::LogStoreEx::SetMaxSize(unsigned int)"; 81 "OHOS::HiviewDFX::LogStoreEx::SetMinKeepingFileNumber(unsigned int)"; 82 "OHOS::HiviewDFX::LogStoreEx::Init()"; 90 …"OHOS::HiviewDFX::LogStoreEx::LogStoreEx(std::__h::basic_string<char, std::__h::char_traits<char>,… 114 …"OHOS::HiviewDFX::LogStoreEx::SetLogFileComparator(std::__h::function<bool (OHOS::HiviewDFX::LogFi… 115 …"OHOS::HiviewDFX::LogStoreEx::ClearSameLogFilesIfNeeded(std::__h::function<bool (OHOS::HiviewDFX::… 116 …"OHOS::HiviewDFX::LogStoreEx::GetLogFiles(std::__h::function<bool (OHOS::HiviewDFX::LogFile const&…
|