> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Frederik Gladhorn > Sent: Thursday, April 10, 2014 7:21 PM > To: [email protected] > 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 _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
