getLogFilePath static method

Future<String?> getLogFilePath()

Helpers to open/read/clear the plain-text log file

Returns absolute path to the plain-text log file (or null if not available)

Implementation

/// Returns absolute path to the plain-text log file (or null if not available)
static Future<String?> getLogFilePath() async {
  if (!_initialized) await ensureInitialized();
  return _textLogFile?.path;
}