You call it without a second parameter, this means default is 0
0 message is sent to PHP's system logger, using the Operating System's system logging mechanism or a file, depending on what the error_log configuration directive is set to. This is the default option.
Now it depends on the configuration of error_log.
If here is not "stderr", php will not log into the apache error log.
It seams to be "syslog" of this php send your log message to the syslog.
Now it depends on how you rsyslog.d is configurated.
But have look at folling logs
tail /var/log/syslog
tail /var/log/messages
tail /var/log/php
tail /var/log/php.log
You message should be in one of them.