Re: New Mini-language element - <trace>

Posted by Jacopo Cappellato-4 on
URL: http://ofbiz.116.s1.nabble.com/New-Mini-language-element-trace-tp4615429p4617337.html

+1

On May 7, 2012, at 7:51 PM, Adrian Crum wrote:

> 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
>