public function shutdown($response) { parent::shutdown($response); if ($this->getHttpRequest()->getUrl()->path != '/healthy-check') { $elapsed = \Nette\Diagnostics\Debugger::timer('global'); // Log Valid Response $data = array('elapsed' => $elapsed, 'upd_process_id' => 'BasePresenter::shutdown()'); if ($this->lastLogItem) { $this->logger->updateLogVisit($this->lastLogItem->id, $data); } } }