public function deleteLog($r) { if (Dase_Log::truncate(LOG_FILE)) { $r->renderResponse('log has been truncated'); } else { $r->renderError(500); } }