Welcome Guest, Not a member yet? Register   Sign In
Debug methods?
#3

[eluser]phpoet[/eluser]
Check out the Error Logging Threshold in your application/config/config.php file. For example, set the log_threshold to 2 for Debug Messages. Then you can write stuff like this:

Code:
log_message('debug', 'Only log this when debug mode is on.');


Messages In This Thread
Debug methods? - by El Forum - 09-07-2008, 01:24 PM
Debug methods? - by El Forum - 09-07-2008, 04:04 PM
Debug methods? - by El Forum - 09-08-2008, 09:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB