The log_close method closes the log file and log hierarchy.
vuint16_t log_close();
uint16_t error_code (an error code) or ERR_NONE (value 0).