On Tuesday 21 February 2012 10:02:23 [email protected] wrote:
> I agree with that: On the desktop it's quite handy to see also detailed
> output on stderr/the shell (which one can redirect to a file if needed).
> But I also think that qLog() messages shouldn't show up by default for
> normal users, that is, unless the category has been explicitly enabled.

True.

> So how about adding another QtMsgType called QLogMsg, that qLog() uses? In
> contrast to qDebug/QtDebugMsg, qLog/QtLogMsg messages would not be
> processed by default, unless the configuration file (or an environment
> variable) says so ...

Isn't the same information given by "a category is present in the 
QMessageLogContext"? All qLog calls are forced to get a category, right?

-- 
David Faure | [email protected] | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to