Home > @magiclane/maps-sdk > RecorderBookmarks > deleteLog
RecorderBookmarks.deleteLog() method
Deletes the specified log file from the filesystem. Does not delete protected logs.
Signature:
deleteLog(logPath: string): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
logPath |
string |
The path to the file to delete. |
Returns:
GemError
- GemError.success when the file was removed. - GemError.general when the operation failed.