Req #4314 [NEW]: Other usage of debugLevel function which is already implemented in source code

From: Date: Tue, 10 May 2005 15:02:19 +0000
Subject: Req #4314 [NEW]: Other usage of debugLevel function which is already implemented in source code
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5999@lists.php.net to get a copy of this message
From: arnaud dot didry at gmail dot com Operating system: PHP version: 5.0.3 Package: Documentation Bug Type: Feature/Change Request Bug description: Other usage of debugLevel function which is already implemented in source code Description: ------------ I would just add another usage of debugLevel function. You didn't say that we can give a function name as parameter. It's very usefull when we don't see what happen (in my case : debugging a soap server) I see this usage is implemented on line 3538 of DataObject.php (DataObject.php,v 1.341 2005/03/23 02:03:22) Bye ! excuse me for my poor english ... Reproduce code: --------------- function DataObject_MyDebug ( $class, $message, $logtype, $level ) { $MyMessage = "<code><B>$class: $logtype:</B> $message</code><BR />\n"; error_log( $MyMessage, 3,'DataObjectLog.html' ); } // DataObject_MyDebug () DB_DataObject::debugLevel('DataObject_MyDebug'); Actual result: -------------- print all log in the file "DataObjectLog.html" -- Edit bug report at http://pear.php.net/bugs/bug.php?id=4314&edit=1 --

« previous php.pear.doc (#5999) next »