Searched refs:errorLogFile (Results 1 – 3 of 3) sorted by relevance
40 val errorLogFile = File(context.filesDir, ERROR_LOG_FILENAME) in writeErrorToLog() constant42 FileUtils.writeStringToFile(errorLogFile, exceptionString, "UTF-8", true) in writeErrorToLog()55 val errorLogFile = File(context.filesDir, ERROR_LOG_FILENAME) in consumeErrorLog() constant56 if (!errorLogFile.exists()) { in consumeErrorLog()59 val logContents = FileUtils.readFileToString(errorLogFile, "UTF-8") in consumeErrorLog()60 errorLogFile.delete() in consumeErrorLog()
365 let errorLogFile = errorLogFile() in launchedUpdate() variable366 guard let data = try? Data(contentsOf: errorLogFile) else { in launchedUpdate()371 try FileManager.default.removeItem(at: errorLogFile) in launchedUpdate()393 let errorLogFile = ErrorRecovery.errorLogFile() in launchedUpdate() variable394 if FileManager.default.fileExists(atPath: errorLogFile.path) { in launchedUpdate()395 if let fileHandle = FileHandle(forWritingAtPath: errorLogFile.path) { in launchedUpdate()402 try data.write(to: errorLogFile, options: .atomic) in launchedUpdate()441 private static func errorLogFile() -> URL { in launchedUpdate() function