PHP 手册
上一页 |  | 下一页

# SAMConnection::setDebug()

(no version information, might be only in CVS)

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.

class 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); ?>`

上一页 | 起始页 | 下一页
SAMConnection->send() | 上一级 | SAMConnection->subscribe()