->debug()
Описание
Debugger - you can use this in your extended classes to output debugging information. Uses DB_DataObject::DebugLevel(x) to turn it on, and can be completly turned off by using the production setting in the configuration file
Параметр
string $message - message to output
string $logPrefix - A bold prefix string
integer $level - output level, 1 is general, 5 tends to reveal things like database connection passwords..
Заметка
Эта функция не должна вызываться статически.
Внимание |
In production mode, the debugger is disabled |
Пример
Пример 35-1. Setting the debugging level
|
Пред. | Начало | След. |
DB_DataObject::debugLevel | Уровень выше | DB_DataObject::raiseError |