downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SAMConnection->subscribe> <SAMConnection->send
Last updated: Fri, 24 Sep 2010

view this page in

SAMConnection::setDebug

(PECL sam >= 1.1.0)

SAMConnection::setDebug Turn on or off additional debugging output.

Description

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.

void SAMConnection::setDebug ( bool $switch )

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.

Return Values

No value is returned.

Examples

Example #1 Turn on debugging output

<?php
$conn
->setdebug(TRUE);
?>

Example #2 Turn off debugging output

<?php
$conn
->setdebug(FALSE);
?>



add a note add a note User Contributed Notes
SAMConnection::setDebug
There are no user contributed notes for this page.

SAMConnection->subscribe> <SAMConnection->send
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites