deleteLog method
- String logPath
Deletes the specified log file from the filesystem. Does not delete protected logs.
Parameters
logPath: The path to the file to delete.
Returns
- GemError.success when the file was removed.
- GemError.general when the operation failed.
Implementation
GemError deleteLog(final String logPath) {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderBookmarks',
'deleteLog',
args: logPath,
);
return GemErrorExtension.fromCode(resultString['result']);
}