exportLog method

GemError exportLog(
  1. String logPath,
  2. FileType type, {
  3. String? exportedFileName,
})

Export log file in a different format.

If the name of the exported file is not specified, then the log name will be used.

Parameters

  • IN logPath The path for the file to be exported.
  • IN type The type of the exported file.
  • IN exportedFileName The exported file name.

Returns

Throws

  • An exception if it fails

Implementation

GemError exportLog(
  final String logPath,
  final FileType type, {
  final String? exportedFileName,
}) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RecorderBookmarks',
    'exportLog',
    args: <String, Object?>{
      'logPath': logPath,
      'type': type.id,
      'exportedFileName': exportedFileName,
    },
  );
  return GemErrorExtension.fromCode(resultString['result']);
}