/** * Collects log messages from a logger. * This method is an event handler to application's EndRequest event. * @param mixed event parameter */ public function collectLogs($param) { $logger = Prado::getLogger(); foreach ($this->_routes as $route) { $route->collectLogs($logger); } }