Copies the log file to path.
path
Future<void> export(String path) async { await flush(); try { if (await _file.exists()) { await _file.copy(path); } } catch (_) { // Ignore copy errors. } }