<div dir="auto">The debug macro is only active for debug builds.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 9, 2018, 6:36 AM Allie Vacanti <<a href="mailto:allison.vacanti@kitware.com">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>