public function postClearLog($request) { $this->log->clear(); $this->addMessage('Log was cleared!'); }