Prado\Util\TLogRoute::collectLogs PHP Méthode

collectLogs() public méthode

Retrieves log messages from logger to log route specific destination.
public collectLogs ( TLogger $logger )
$logger TLogger
    public function collectLogs(TLogger $logger)
    {
        $logs = $logger->getLogs($this->getLevels(), $this->getCategories());
        if (!empty($logs)) {
            $this->processLogs($logs);
        }
    }