[TYPO3-core] RFC #8259: Cleanup: Call to t3lib_div::devLog() without key
Kasper Ligaard
kasperligaard at gmail.com
Sat Apr 26 12:40:12 CEST 2008
Hi Francois!
I agree that the key should be there.
On a side note: The patch I sent You recently, will tell You the file,
class, method and line number of any call to devlog. You will never have
to hunt down devlog calls that someone else placed.
You could easily extend the patch, to have an 'ignore list' of classes
(or methods) to filter out.
Cheers!
Regards, Kasper
Francois Suter wrote:
> This is an SVN patch request.
>
> Type: Code cleanup
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8259
>
> Branches:
> 4.2, Trunk
>
> Problem:
> typo3/template.php makes a call to t3lib::devLog() without any key. This
> makes it difficult to know where this log entry is coming from (and
> nearly useless unless you know).
>
> Solution:
> Set "template" as a key, since it is the name of the class and it is
> what other core classes do (t3lib_auth, t3lib_db, etc.).
>
> Notes:
> Maybe "typo3/template.php" would be better, since just "template" is
> somewhat ambiguous.
>
> Cheers
>
More information about the TYPO3-team-core
mailing list