Home
last modified time | relevance | path

Searched refs:LogStoreEx (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/logstore/
H A Dlog_store_ex.cpp37 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 Dactive_key_event_test.cpp64 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 Dlog_store_ex.h32 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 Dfaultlog_manager.cpp44 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 Dfaultlog_manager.h52 std::unique_ptr<LogStoreEx> store_ = nullptr;
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/include/
H A Dactive_key_event.h34 void Init(std::shared_ptr<LogStoreEx> logStore);
48 std::shared_ptr<LogStoreEx> logStore_;
H A Devent_logger.h48 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 Dvendor.h79 std::unique_ptr<LogStoreEx> logStore_ = nullptr;
H A Dvendor.cpp329 logStore_ = std::make_unique<LogStoreEx>(FREEZE_DETECTOR_PATH, true); in Init()
/ohos5.0/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
H A Dlog_store_unit_test.cpp117 LogStoreEx logStoreEx(logStorePath);
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/
H A Dactive_key_event.cpp95 void ActiveKeyEvent::Init(std::shared_ptr<LogStoreEx> logStore) in Init()
H A Devent_logger.cpp886 LogStoreEx::LogFileComparator comparator = [this](const LogFile &lhs, const LogFile &rhs) { in OnLoad()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dlibhiviewbase.map75 …"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&…