public function getHandler($host, $port, $prefix)
    {
        $syslog = new SyslogUdpHandler($host, $port);
        $formatter = new LineFormatter("$prefix%channel%.%level_name%: %message% %extra%");
        $syslog->setFormatter($formatter);

        return $syslog;
    }