void DB_DataObject::debugLevel (
Sets and returns debug level. So you can see the queries and connections being built and executed.
integer $level - level, without any parameters it will disable the debugging output. 1 give a general output, 5 includes things like passwords for connections.
This function can not be called statically.
// turn debugging high
$person = new DataObjects_Person;
// turn debugging off