[Development] Categorized logging inside Qt
Koehne Kai
Kai.Koehne at digia.com
Fri Apr 11 08:31:18 CEST 2014
> -----Original Message-----
> From: development-bounces+kai.koehne=digia.com at qt-project.org
> [mailto:development-bounces+kai.koehne=digia.com at qt-project.org] On
> Behalf Of Frederik Gladhorn
> Sent: Thursday, April 10, 2014 7:21 PM
> To: development at qt-project.org
> Subject: [Development] Categorized logging inside Qt
>
> Hi all,
>
> I just started to port accessibility to the new and shiny categorized logging.
> http://blog.qt.digia.com/blog/2014/03/11/qt-weekly-1-categorized-logging/
>
> I'd propose we decide on a certain style of declaring categories.
We had some discussion about names at
https://codereview.qt-project.org/#patch,sidebyside,74862,1,src/corelib/io/qcore_logging_p.h
(which wasn't integrated due to other discussions/waiting changes).
There was no real consensus, but the latest proposal was to use e.g.
Q_LOGGING_CATEGORY(qtCoreIo, "qt.core.io");
And declare /define them all in a qxxx_logging_p.h qxxx_logging.cpp file per module/plugin.
Regards
Kai
More information about the Development
mailing list