[TYPO3-core] RFC #10092: Feature: Add a logging API for deprecated functions

Martin Kutschker masi-no at spam-typo3.org
Sun Jan 11 14:52:50 CET 2009


Martin Kutschker schrieb:
> Hi!
> 
> This is a patch request.
> 
> Branch: trunk
> 
> Description: A function to t3lib_div that logs calls to deprecated
> functions to the PHP log and a custom log in typo3conf.
> 
> Note: patch contains logging function and example usage in t3lib_div.

Here comes a new version. The logging is now split up into two
functions: deprecationLog() and logDeprecatedFunction.

The reason is that I will also introduce
TSFE->logDeprecatedTyposcript(). This function shouldn't write to the
PHP log and it doesn't need to read any annotions.

Note: the patch contains a few corrections to the docs. They are not
really related but make a better result when used with Doyxgen. Sorry.

Masi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_10092_v3.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090111/8e69cb75/attachment-0001.txt 


More information about the TYPO3-team-core mailing list