Re: New Mini-language element - <trace>
Posted by
Erwan de FERRIERES on
May 08, 2012; 12:46pm
URL: http://ofbiz.116.s1.nabble.com/New-Mini-language-element-trace-tp4615429p4617365.html
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?
>
+1
--
Erwan de FERRIERES
www.nereide.biz