Class Debug

Description

Provides a method for debugging and logging information by specifying a callback function to use as a debug handler.

Located in /class.debug.php (line 24)


                
			
Method Summary
static void Log (string $sMessage)
static void SetDebugHandler (callback $cCallback)
Methods
static method Log (line 50)

If the debug callback funciton is set to a valid, callable function, this method passes the debug message to that callback function.

  • access: public
static void Log (string $sMessage)
  • string $sMessage: The debug message to send to the callback function
static method SetDebugHandler (line 37)

Sets the callback function for debug logs.

  • access: public
static void SetDebugHandler (callback $cCallback)
  • callback $cCallback: The callback function to invoke when logging debug statements

Documentation generated on Thu, 25 Feb 2010 15:59:40 -0500 by phpDocumentor 1.4.3