->debug()

->debug() -- output debug information.

Synopsis

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

Beschreibung

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

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Warnung

In production mode, the debugger is disabled

Siehe auch

DB_DataObject::debugLevel()

Beispiel