Welcome Guest, Not a member yet? Register   Sign In
Logging levels
#1

[eluser]louis w[/eluser]
I kind of feel there should be an logging level between error and debug. I almost even think that informational messages should be above debug.

Error message are.... errors.
Debug messages you would only use during development.

I want something between those, for instance when a user does a certain action like delete an item or such. I would want to record this. I could care less about what classes are instantiated once a site is in production. But with informational messages being below debug messages there is nothing I can do about it.

I am extending the error class to allow for sending them to syslog instead of text files. Might have to hack it up a bit to allow for this change in levels.


Messages In This Thread
Logging levels - by El Forum - 02-02-2009, 02:16 PM
Logging levels - by El Forum - 02-02-2009, 02:21 PM
Logging levels - by El Forum - 02-02-2009, 02:41 PM
Logging levels - by El Forum - 02-02-2009, 02:48 PM
Logging levels - by El Forum - 02-04-2009, 04:25 AM
Logging levels - by El Forum - 02-04-2009, 05:57 PM
Logging levels - by El Forum - 02-04-2009, 06:45 PM
Logging levels - by El Forum - 04-20-2011, 03:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB