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

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


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.

Masi


More information about the TYPO3-team-core mailing list