Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


SAMConnection::setDebug

(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.

SAMConnection
void send ( bool $switch )

Список параметров

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.

Примеры

Пример #1 Turn on debugging output

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

Пример #2 Turn off debugging output

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






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |