Added clear_log function to Logs module.