Slightly improved logging output of PHP Errors