<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 9, 2018 at 9:45 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">The debug macro is only active for debug builds.</div></blockquote><div><br></div><div>Yes. I'm referring to the readability of the output when it's enabled. A few have mentioned that it's not terribly useful in its current state, and making the output more compact would be an improvement IMO.<br><br>As it is, trying to watch the terminal while a program is executing is near impossible as it moves too quickly, and digging through the markup to find the relevant messages is tedious. Fitting 3x more messages in the same number of lines would improve both usecases for me.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_quote"><div dir="ltr">On Thu, Aug 9, 2018, 6:36 AM Allie Vacanti <<a href="mailto:allison.vacanti@kitware.com" target="_blank">allison.vacanti@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">While we're possibly retooling logging...<br><br><div class="gmail_extra"><div class="gmail_quote"><div>I'd love to see the behavior of these macros change to reduce the verbosity. If we want vtkDebugMacro to log every set and get, ok, but it'd be nice to have the messages shortened. Right now, every debug/warning prints 3 lines, eg<br><br>"""<br>Warning: In /path/to/source/file, line XXX<br>vtkClassName (0xOBJ_ADDRESS): Actual log message.<br><empty line><br>"""<br><br>I do find the extra information to be extremely valuable, but with the amount of data logged by debug macros, it becomes a chore to dig through the output. What if the log messages were compacted to something more dense, like:<br><br>"""<br>[Warning] Actual log message. (vtkClassName@0xOBJ_ADDRESS, /path/to/source/file:XXX)<br>"""<br><br>Is this something that anyone else would find useful?<br><br></div></div></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div></div>