getLogRootPath method

  1. @override
Future<String?> getLogRootPath()
override

获取原生侧日志根目录路径。

Implementation

@override

/// 获取原生侧日志根目录路径。
Future<String?> getLogRootPath() async {
  try {
    final path = await methodChannel.invokeMethod<String>('getLogRootPath');
    return path;
  } catch (_) {
    return null;
  }
}