->debug()

->debug() -- output debug information.

Synopsis

void $DB_DataObject->debug (string $message [, string $logPrefix [, integer $level=1]])

Description

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

Parameter

Note

This function can not be called statically.

Warning

In production mode, the debugger is disabled

See

DB_DataObject::debugLevel()

Example