(PECL sam >= 1.1.0)
Turn on or off additional debugging output.
void SAMConnection::setDebug ( bool $switch )
The "setdebug" method is used to turn on or off additional debugging output. The SAM framework will provide method/function entry and exit trace data plus additional information. Protocol specific implementations also provide extra output.
Parameters:
switch
If this parameter is set to TRUE
additional debugging output will be provided. If the value is set to FALSE
output of additional information will be stopped.
Returns:
No value is returned.
Examples:
Turn on debugging output
1 2 3 | <?php $conn ->setdebug(TRUE); ?> |
Turn off debugging output
1 2 3 | <?php $conn ->setdebug(FALSE); ?> |
Please login to continue.