Expand description
Stop a task. Add the ‘stop’ entry to the logfile marked with the current date and time.
Errors
- Return
PathError::FilenameMissingif the log file has no filename. - Return
PathError::InvalidPathif the path part of log file is not a valid path. - Return
PathError::FileAccessif the log file cannot be opened or created. - Return
PathError::FileWriteif the function fails to append to the log file.