Compiling taglib in release mode removes most of the messages, and works well enough for me. It&#39;s strange that when I installed with apt-get from the repository, it comes in debug mode? Anyways, now that I have a real ui, it&#39;s natural to log these less frequent taglib messages along with my own to stderr.<div>

<br></div><div>Thanks<br><br><div class="gmail_quote">On Sun, May 15, 2011 at 3:24 PM, Ivar Eskerud Smith <span dir="ltr">&lt;<a href="mailto:ivar_eskerud@hotmail.com">ivar_eskerud@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
Thank you for your answer Scott, and for a great program. I understand most of the messages might not be useful for most people, but if it is not a lot of work to add some logging of the debug info, maybe it could be done? If some sort of logger class is used, I think 1 line of code inside the debug() function is all that is needed. One could log all debug info with the possibility to clear the entire log, and the possibility to turn this logging on/off (could be off by default as I guess most people won`t use it). Or just log the last occurred error which could be accessed through some lastError() function...<br>

<br>regards, Ivar<br><br>&gt; Subject: Re: error and warning messages<br>&gt; From: <a href="mailto:wheeler@kde.org" target="_blank">wheeler@kde.org</a><br>&gt; Date: Fri, 13 May 2011 22:56:40 +0200<div class="im"><br>&gt; To: <a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br>

&gt; <br></div><div><div></div><div class="h5">&gt; On May 13, 2011, at 9:20 PM, Ivar Eskerud Smith wrote:<br>&gt; <br>&gt; &gt; I have asked this question before, and I don`t think there is a way to do this.<br>&gt; <br>

&gt; Historically the reason for this is that the debugging messages were only intended for TagLib developers (honestly, I don&#39;t think any of them are particularly useful for application developers).  At that time KDE (and related packages, including TagLib) were always built with the NDEBUG define in release packages, which defines debug(x) and debugData(x) as empty macros.<br>

&gt; <br>&gt; -Scott <br>&gt; _______________________________________________<br>&gt; taglib-devel mailing list<br>&gt; <a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br>&gt; <a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>

                                               </div></div></div>
<br>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div><br></div>