error and warning messages
Jeffrey Milloy
jeffrey.a.milloy at gmail.com
Tue May 17 04:50:48 CEST 2011
Compiling taglib in release mode removes most of the messages, and works
well enough for me. It'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's
natural to log these less frequent taglib messages along with my own to
stderr.
Thanks
On Sun, May 15, 2011 at 3:24 PM, Ivar Eskerud Smith <
ivar_eskerud at hotmail.com> wrote:
> 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...
>
> regards, Ivar
>
> > Subject: Re: error and warning messages
> > From: wheeler at kde.org
> > Date: Fri, 13 May 2011 22:56:40 +0200
>
> > To: taglib-devel at kde.org
> >
> > On May 13, 2011, at 9:20 PM, Ivar Eskerud Smith wrote:
> >
> > > I have asked this question before, and I don`t think there is a way to
> do this.
> >
> > Historically the reason for this is that the debugging messages were only
> intended for TagLib developers (honestly, I don'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.
> >
> > -Scott
> > _______________________________________________
> > taglib-devel mailing list
> > taglib-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/taglib-devel
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20110516/95971eac/attachment.htm
More information about the taglib-devel
mailing list