Searched refs:csvFile (Results 1 – 5 of 5) sorted by relevance
/test/ostest/wukong/report/include/ |
D | csv_utils.h | 43 static void WriteHeader(std::ofstream &csvFile) in WriteHeader() argument 45 csvFile << "Domain" << ','; in WriteHeader() 46 csvFile << "EventName" << ','; in WriteHeader() 47 csvFile << "Type" << ','; in WriteHeader() 48 csvFile << "Time" << ','; in WriteHeader() 49 csvFile << "TimeZone" << ','; in WriteHeader() 50 csvFile << "ProcessId" << ','; in WriteHeader() 51 csvFile << "ThreadId" << ','; in WriteHeader() 52 csvFile << "UserId" << ','; in WriteHeader() 53 csvFile << "TraceId" << ','; in WriteHeader() [all …]
|
D | sysevent_listener.h | 24 explicit SysEventListener(std::ofstream& targetCsvFile) : csvFile(targetCsvFile) in SysEventListener() 34 std::ofstream& csvFile;
|
D | exception_manager.h | 54 std::ofstream csvFile; variable
|
/test/ostest/wukong/report/src/ |
D | exception_manager.cpp | 54 bool InitCsvFile(std::ofstream &csvFile, std::string &filePath) in InitCsvFile() argument 62 csvFile.open(filePath, std::ios_base::out | std::ios_base::trunc); in InitCsvFile() 63 if (!csvFile) { in InitCsvFile() 67 CsvUtils::WriteHeader(csvFile); in InitCsvFile() 75 if (!InitCsvFile(csvFile, currentCsvFilePath)) { in StartCatching() 82 toolListener = std::make_shared<SysEventListener>(csvFile); in StartCatching() 94 if (csvFile.is_open()) { in StopCatching() 95 csvFile.flush(); in StopCatching() 96 csvFile.close(); in StopCatching()
|
D | sysevent_listener.cpp | 63 CsvUtils::WriteOneLine(csvFile, data); in OnEvent()
|