Closes the log file and log hierarchy.
uint16_t log_close();
uint16_t error_code
An error code or ERR_NONE (value 0).