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

Susanne Moog typo3 at susannemoog.de
Sun Jan 11 14:31:08 CET 2009


Martin Kutschker schrieb:
> Steffen Kamper schrieb:
>>>> 11-01-09 13:49: t3lib_div::GPvarsince TYPO3 3.6 - Use t3lib_div::_GP
>>>> instead (ALWAYS ...
>>>> can you look at this again?
>>> What is the complain? Do you get the triple dots in your log?
>>>
>>> The log line starts with date/time (colon followed by the function name
>>> (there should be a space here). Then comes the log message and a trace.
>>>
>> no, its
>> t3lib_div::GPvarsince TYPO3 3.6
>> should read
>> t3lib_div::GPvar is deprecated since TYPO3 3.6
> 
> Ah, it has escaped your notice that the log message (in the deprecation
> log) is takes form the annotation. So whatever follows the @deprecated
> tag is put into the log.
> 
> Some of the annotations are nicely formatted and some are not.

Right, but couldn't we add at least the whitespace behind the function 
name (t3lib_div::GPvarsince instead t3lib_div::GPvarsince)?

Susanne


More information about the TYPO3-team-core mailing list