openLogFile static method
Opens the plain-text log file with the platform default viewer. Returns the OpenResult from open_file.
Implementation
static Future<OpenResult?> openLogFile() async {
if (!_initialized) await ensureInitialized();
if (_textLogFile == null) return null;
try {
return await OpenFile.open(_textLogFile!.path);
} catch (e) {
return null;
}
}