Contao\CoreBundle\Monolog\ContaoTableHandler::write PHP Метод

write() защищенный Метод

protected write ( array $record )
$record array
    protected function write(array $record)
    {
        $this->createStatement();
        /** @var \DateTime $date */
        $date = $record['datetime'];
        /** @var ContaoContext $context */
        $context = $record['extra']['contao'];
        $this->statement->execute(['tstamp' => $date->format('U'), 'text' => StringUtil::specialchars((string) $record['formatted']), 'source' => (string) $context->getSource(), 'action' => (string) $context->getAction(), 'username' => (string) $context->getUsername(), 'func' => (string) $context->getFunc(), 'ip' => (string) $context->getIp(), 'browser' => (string) $context->getBrowser()]);
    }