Debug class
Class for outputting debug info.
Example:
1 // enable debug to be outputted
2 Debug::on();
3 // set debug level to output debug message with filename and line name
4 Debug::level(DEBUG_OUTPUT_FILENAME | DEBUG_OUTPUT_LINE);
5 // print debug info (optional filename (__FILE__) and line number (__LINE__) can be passed)
6 Debug::debug('debug text here', __FILE__, __LINE__);
7 // suppress output of further debug() calls
8 Debug::off();
9 // no output will be produced
10 Debug::debug('testing');
Located in Program_Root/Debug.php (line 51)
Debug - output debug info
Documention generated on Wed, 16 Jul 2003 01:03:07 +0100 by phpDocumentor 1.2.0