src/Ease/Logger/ToSyslog.php
public function output($type, $logLine)
    {
        switch ($type) {
            case 'error':
                syslog(LOG_ERR, $this->finalizeMessage($logLine));
                break;
            default:
                syslog(LOG_INFO, $this->finalizeMessage($logLine));
                break;
        }
    }
public function output($type, $logLine)
    {
        switch ($type) {
            case 'error':
                syslog(LOG_ERR, $this->finalizeMessage($logLine));
                break;
            default:
                syslog(LOG_INFO, $this->finalizeMessage($logLine));
                break;
        }
    }
Output logline to syslog/messages by its type

@param string $type    message type 'error' or anything else
@param string $logLine message to output