Re: New Mini-language element - <trace>
Posted by
Ankit Jain-2 on
URL: http://ofbiz.116.s1.nabble.com/New-Mini-language-element-trace-tp4615429p4616615.html
+1, Nice one for debugging in xml.
Regards,
Ankit Jain
On Mon, May 7, 2012 at 11:21 PM, Adrian Crum
<
[hidden email]> 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
>