View Poll Results: As you work (offline) do you have error reporting turned on?
- 16. You may not vote on this poll
error_reporting turned on and display them in output
error_reporting turned on but only log them
error_reporting turned on and both display and log them
error_reporting turned off
what is error_reporting?
Nov 13, 2008, 10:31 #1
- Join Date
- Oct 2006
- France, deep rural.
- 17 Post(s)
- 1 Thread(s)
Which error_reporting levels do you use, if at all?
Following on from something i just read in another thread, one way of dealing with irksome error messages (E_WARNING) is to simply turn them off.
It is a surprisingly simple way of simplifying some of your code I suppose.
I have been running display_errors, and E_ALL for a few years now and never really give it a second thought.
Now I am only talking about on your development environment, and I am not particularly concerned about how you log Live server errors.
So, as you are working away do you display errors or not?
To what level?
Do you log them as well?
Let me know either way, and why you do that.