GoLang SAMConnection::setDebug

request it (255)
GoLang replacement for PHP's SAMConnection::setDebug [edit | history]

Do you know a GoLang replacement for PHP's SAMConnection::setDebug? Write it!

PHP SAMConnection::setDebug

PHP original manual for SAMConnection::setDebug [ show | php.net ]


(PECL sam >= 1.1.0)

SAMConnection::setDebug Turn on or off additional debugging output


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 )



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.


Example #1 Turn on debugging output


Example #2 Turn off debugging output