public function startLogProcess() { $logBLL = new LoggerBLL(); $logAdminView = new AdminView($logBLL->getAllLoggs()); $logOutputView = new OutputView(); $body = ""; if ($logAdminView->wantToSeeSessionOfIP()) { $body = $logAdminView->getSessionForIP(); } else { if ($logAdminView->wantToSeeTracesOfSession()) { $body = $logAdminView->displayTracesOfSession(); } else { $body = $logAdminView->displayIPAndSession(); } } $logOutputView->standardOutput($body); }