getSdkLogDumpPath static method

  1. @Deprecated('Use sdkLogDumpPath getter instead')
Future<String> getSdkLogDumpPath()

Retrieves the file path to the SDK crash report log.

The log file contains detailed information about SDK operations and is automatically sent to Magic Lane servers in case of crashes. Custom entries can be added using log, and verbosity is controlled via setSdkDumpLevel.

Returns

  • File path to the SDK dump log.

See also:

Implementation

@Deprecated('Use sdkLogDumpPath getter instead')
static Future<String> getSdkLogDumpPath() async {
  final String path = await GemKitPlatform.instance
      .getChannel(mapId: -1)
      .invokeMethod(
        'getLogPath',
        jsonEncode(<String, dynamic>{'dummyKey': 'dummyValue'}),
      );
  return path;
}