public function onError(Event $event)
    {
        if ($event['inConsole'] || !$event['isFirstOccur']) {
            return;
        }
        $this->processLogEntry(
            'errorNotConsoled',
            array(
                $event['typeStr'].': '.$event['file'].' (line '.$event['line'].'): '.$event['message']
            ),
            array(
                'channel' => 'phpError',
                'class' => $event['type'] & $this->debug->getCfg('errorMask')
                    ? 'danger'
                    : 'warning',
            )
        );
    }