I want to know how I can display E_ERROR
error messages to the screen but write E_ALL
error messages to the error log, we currently use the error_reporting()
in our app index page so we can change error reporting without the need to constantly restart the web server, but it seems that this (or perhaps the way it's meant to work) means that we only log errors that we see on the screen.
Is there a way to log and display different levels of errors?
Cheers!