[TYPO3-v4] Harmonizing severity levels

François Suter fsu-lists at cobweb.ch
Fri Nov 5 20:43:55 CET 2010


Hi,

> In general this should not be such complicate when we use constants and
> at the places always call constants.
> I think the right place would be t3lib_div, or completely new static
> t3lib_log. This also would give us also a better overview which logs we
> have and how they are used.

I would have a separate class. This would make it possible to mark all 
the old functions as deprecated. At the same time, these old methods 
would map the old severity values to the new ones and call the new 
logging methods. That way we should even avoid breaking existing log calls.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-v4 mailing list