#44750 [NEW]: request for generic phd logger

From: Date: Thu, 17 Apr 2008 00:32:34 +0000
Subject: #44750 [NEW]: request for generic phd logger
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-718@lists.php.net to get a copy of this message
From: philip@php.net Operating system: Mac PHP version: Irrelevant PHP Bug Type: Doc Build problem Bug description: request for generic phd logger Description: ------------ This request is for generic logging capabilities in PhD. For example, let's say we want to log every function that lacks version information (when a function is available in PHP/PECL, via versions.xml, via functable.php) then currently we might define $missingVersions and add this to phpdotnet.php: if (!isset($this->versions[$funcname])) { self::$missingVersions[] = $funcname; } And in build.php: print_r(array_unique(phpdotnet::$missingVersions)); Rather, it would be nice to instead officially log such information in one place so instead of some variable, something like: if (!isset($this->versions[$funcname])) { log_errors('missing_versions', $funcname); } Then have a single place to categorically output all such logged errors. We'd also log missing mappers, missing translated text, etc. -- Edit bug report at http://bugs.php.net/?id=44750&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44750&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44750&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44750&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44750&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44750&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44750&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44750&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44750&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44750&r=support Expected behavior: http://bugs.php.net/fix.php?id=44750&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44750&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44750&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44750&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44750&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44750&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44750&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44750&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44750&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44750&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44750&r=mysqlcfg

« previous php.doc.bugs (#718) next »