DB_DataObject::debugLevel | DB_DataObject::raiseError |
DB_DataObject | |
PEAR Manual | |
void $DB_DataObject->debug (
string $message
,
string $logPrefix
,
integer $level=1
)
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..
This function can not be called statically.
Warning |
In production mode, the debugger is disabled |
Setting the debugging level
|
DB_DataObject::debugLevel | DB_DataObject::raiseError |
DB_DataObject | |
PEAR Manual | |