public function clear()
 {
     LogEntry::deleteAll();
     Log::sysLog('LogController', 'Log table cleared');
     System::forwardToRoute(Router::getInstance()->build('LogController', 'index'));
 }