New Mini-language element - <trace>
Posted by Adrian Crum-3 on May 07, 2012; 5:51pm
URL: http://ofbiz.116.s1.nabble.com/New-Mini-language-element-trace-tp4615429.html
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