Searched refs:g_currentLogFilePath (Results 1 – 1 of 1) sorted by relevance
53 std::string g_currentLogFilePath; variable211 if ((date == g_currentDate) && IsFilePathValid(g_currentLogFilePath)) { in GetLogFilePath()214 LOGE("Current log file path invalid: %s", g_currentLogFilePath.c_str()); in GetLogFilePath()230 g_currentLogFilePath = GetCurrentLogFilePath(1); in GetLogFilePath()237 g_currentLogFilePath = filePath; in GetLogFilePath()248 g_currentLogFilePath = GetCurrentLogFilePath(fileNumber + 1); in GetLogFilePath()254 bool chmodFlag = !std::__fs::filesystem::exists(g_currentLogFilePath); in WriteMessage()256 std::ofstream logFile(g_currentLogFilePath, std::ios::app); in WriteMessage()259 LOGD("Create log file %s.", g_currentLogFilePath.c_str()); in WriteMessage()260 if (!Chmod(g_currentLogFilePath, LOG_FILE_MODE)) { in WriteMessage()[all …]