Welcome Guest, Not a member yet? Register   Sign In
Logging broken?
#2

[eluser]jabbett[/eluser]
CodeIgniter's logging design is consistent with loggers across the programming world. Basically, you have a series of increasing severities... in CI's case: informational (least important), debug (more important), error (most important). When you set your log threshold, you're choosing to see everything at that level or more important, not only that level. So, if you choose DEBUG, you'll see all error messages with levels >= DEBUG.

Note that, in other logging systems, it's more typical for the INFO level to be more important than DEBUG. Not sure why CI chose to invert the order.


Messages In This Thread
Logging broken? - by El Forum - 11-02-2007, 02:03 PM
Logging broken? - by El Forum - 11-05-2007, 10:31 AM
Logging broken? - by El Forum - 11-05-2007, 11:19 AM
Logging broken? - by El Forum - 11-05-2007, 12:46 PM
Logging broken? - by El Forum - 11-05-2007, 12:50 PM
Logging broken? - by El Forum - 11-05-2007, 01:07 PM
Logging broken? - by El Forum - 11-05-2007, 01:31 PM
Logging broken? - by El Forum - 11-05-2007, 01:36 PM
Logging broken? - by El Forum - 11-05-2007, 02:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB