protected function output()
    {
        /*
        Constant Description
        LOG_EMERG   system is unusable
        LOG_ALERT   action must be taken immediately
        LOG_CRIT    critical conditions
        LOG_ERR     error conditions
        LOG_WARNING warning conditions
        LOG_NOTICE  normal, but significant, condition
        LOG_INFO    informational message
        LOG_DEBUG   debug-level message
        */

        $flags = LOG_PID;

        // log entries must follow standard UTC timezone settings
        putenv('TZ=UTC');

        // connect to syslog
        #$flags = $flags | LOG_PERROR;
        openlog($_SERVER['REQUEST_URI'], $flags, LOG_DAEMON);

        // first get content to local var
        $content = $this->getContentRaw();

        // iterate log content
        foreach ($content as $logEntry) {
            // convert our type to systems log type
            $type = $this->typeToSystemType($logEntry['type']);

            // log to syslog
            syslog($type, $logEntry['message']);
        }

        // so we can clear the existing log
        $this->clearContent();

        // close connection to syslog
        closelog();
    }