Home
last modified time | relevance | path

Searched refs:csvFile (Results 1 – 5 of 5) sorted by relevance

/test/ostest/wukong/report/include/
Dcsv_utils.h43 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 …]
Dsysevent_listener.h24 explicit SysEventListener(std::ofstream& targetCsvFile) : csvFile(targetCsvFile) in SysEventListener()
34 std::ofstream& csvFile;
Dexception_manager.h54 std::ofstream csvFile; variable
/test/ostest/wukong/report/src/
Dexception_manager.cpp54 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()
Dsysevent_listener.cpp63 CsvUtils::WriteOneLine(csvFile, data); in OnEvent()