On Thu, Feb 2, 2012 at 2:22 PM, David Faure <[email protected]> wrote:
> 1) showing more information (file, line, method, process name and PID) in the
> default message handler, probably based on env vars (easy to add now that
> QMessageLogContext has the necessary information).

Please don't show *all* of that by default. Having it *available* is
useful, but especially for people working on single applications,
things like PID in the console output is completely useless spam.
Making it *available*? Sure. KDE could have a message handler that did
whatever they wanted, without needing kDebug.

Another thing to note is that debugging carries a performance penalty.
You definitely don't want that compiled in in release builds, and
you'd still want to avoid debug in performance-critical areas, even if
output wasn't switched on.

Everything else in your mail gets a +3 "approved; give this guy a payrise" :-)
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to