[TYPO3-v4] deprecation log

Steffen Kamper info at sk-typo3.de
Fri May 7 20:05:25 CEST 2010


Hi,

some remarks to the deprecation log:

It's really useful for detecting deprecated calls. However the logging 
is imho to static:
1) you only can switch it on / off
2) if on it writes always to file and to dev log which floods both

I would like to show deprecation also in one tab of debug console when 
enabled, so i suggest a finer switch

$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] = abc

where abc mans bit flags
a - write to file (2^0)
b - write to dev log (2^1)
c - show in debug console (2^2)

What do you think?

vg Steffen


More information about the TYPO3-project-v4 mailing list