Better syslog support with error_log

When PHP is configured to log errors to syslog, then, as of PHP 7.1, the PHP error level (like NOTICE or WARNING) gets mapped to its corresponding counterpart in syslog rather than just being a notice. This allows finer differentiation in the error logs and makes filtering and syslog level forwarding easier.