Re: New Mini-language element - <trace>
Posted by
Malin Nicolas on
URL: http://ofbiz.116.s1.nabble.com/New-Mini-language-element-trace-tp4615429p4616909.html
Nice idea.
Just to understand the log element can't be extend to support this
functionnality ?
<log level="info">
<entity-and ....>
<message>the list ${listName}</message>
</log>
Or you want adding a new element trace to separate the log message than
strace process ?
nicolas
Le 07/05/2012 19:51, Adrian Crum a écrit :
> I am considering adding an element to Mini-language - <trace> - to aid
> with development. The element would be used like so:
>
> <trace level="info">
> <!-- code that needs debugging goes here -->
> </trace>
>
> Each contained element will log detailed information on its internal
> state using the specified log level.
>
> A developer trying to debug a block of code can enclose it with the
> <trace> element to see what is happening internally.
>
> What do you think?
>
> -Adrian
>
--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet :
http://www.neogia.org/-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site :
http://www.librenberry.net/