Req #4314 [Fbk->NoF]: Other usage of debugLevel function which is already implemented in source code

From: Date: Sun, 23 Oct 2005 17:39:03 +0000
Subject: Req #4314 [Fbk->NoF]: Other usage of debugLevel function which is already implemented in source code
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7071@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=4314&edit=1 ID: 4314 Updated by: danielc@php.net Reported By: arnaud dot didry at gmail dot com -Status: Feedback +Status: No Feedback Id: 4314 Type: Feature/Change Request Package: Documentation PHP Version: 5.0.3 Assigned To: danielc New Comment: Closing due to lack of feedback. Previous Comments: ------------------------------------------------------------------------ [2005-06-06 18:45:23] danielc at analysisandsolutions dot com Your report is unclear. Are you talking about something on a particular page that should be changed? If so, what's the URI to that page? If you're talking about particular package, you need to select the appropriate "package" (seen above when using the web interface). ------------------------------------------------------------------------ [2005-05-10 11:02:19] arnaud dot didry at gmail dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=4314&edit=1

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