exportLog method
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
- GemError.success If operation succeeds.
- GemError.exist If the exported file already exists in the folder.
- GemError.general If operation fails.
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']);
}