Re: [Development] Proposed API change: Change signature of QMessageHandler to use QString

2012-04-12 Thread wolfgang.beck
Before I would do such a change I would check if there are other projects in QT they install their own messaghandler. I think they all need to change their code as well. Maybe we should keep it as it is. Cheers, WB -Original Message- From: development-bounces+wolfgang.beck=nokia@qt

[Development] Request for a new Playground project

2012-03-28 Thread wolfgang.beck
Hi guys, I'm following the steps on http://wiki.qt-project.org/Creating_a_new_module_or_tool_for_Qt To get a playground project created for qlogger in place. qlogger should be the previous discussed category logging mechanism on the developer ML. (see

[Development] QLogging with wildcards categories

2012-03-12 Thread wolfgang.beck
Hi guys, A new patch is ready. Logging into a file is now removed because of possible maintenance trouble. http://codereview.qt-project.org/#change,13226 Cheers, WB ___ Development mailing list Development@qt-project.org

[Development] qLog wildcards categories

2012-02-29 Thread wolfgang.beck
Hi guys, I need to have a vote on a implementation detail regarding filtering of wildcards categories. Let's say you have a category defined and a wildcard category as well. A: Do you think the order in the configuration file plays an important rule or B: If you set specific a category let's

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-20 Thread wolfgang.beck
Yes I know and I've changed it. No QSetting is used anymore. B.R. WB -Original Message- From: development-bounces+wolfgang.beck=nokia@qt-project.org [mailto:development-bounces+wolfgang.beck=nokia@qt-project.org] On Behalf Of ext Thiago Macieira Sent: Monday, February 20, 2012

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-16 Thread wolfgang.beck
Already done. I'm using if (!global_enabled()) /*NOP*/; else QMessageLogger(__FILE__, __LINE__, Q_FUNC_INFO).debug Anyway I will make sure that qlog still works even with -DQT_NO_WARNING_OUTPUT Cheers, WB -Original Message- From: development-bounces+wolfgang.beck=nokia@qt

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-16 Thread wolfgang.beck
) Already done. I'm using if (!global_enabled()) /*NOP*/; else QMessageLogger(__FILE__, __LINE__, Q_FUNC_INFO).debug Anyway I will make sure that qlog still works even with -DQT_NO_WARNING_OUTPUT Cheers, WB -Original Message- From: development-bounces+wolfgang.beck=nokia@qt

[Development] QT_MESSAGE_PATTERN

2012-02-16 Thread wolfgang.beck
Hi Kai, I'm trying to use the QMessagePattern and I'm missing some documentation here. Is the usage of the environment variable QT_MESSAGE_PATTERN even documented? Cheers, WB ___ Development mailing list Development@qt-project.org

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-09 Thread wolfgang.beck
Hi Kai, The controlling of the category will be done using a configuration file. QLog contains a private class that creates a file watcher for the configuration file. So not only if you start the application but during runtime as well the category filtering can be changed dynamically by

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-08 Thread wolfgang.beck
Hi Kai, I think this was a very good idea so I've tried it but I've run into one important problem. If I use this trick I have to call the overloaded function in QMessageLogger: e.g. 1. void debug(QMessageCategory category, const char *format, ...); and 2. QDebug debug(QMessageCategory

Re: [Development] QLog ( Work on qDebug and friends)

2012-02-02 Thread wolfgang.beck
cool stuff like writing into sockets can be done in an addOn or even in a plugin. -- WB -Original Message- From: development-bounces+wolfgang.beck=nokia@qt-project.org [mailto:development-bounces+wolfgang.beck=nokia@qt-project.org] On Behalf Of ext Robin Burchell Sent: Thursday

Re: [Development] Development Digest, Vol 4, Issue 94

2012-01-29 Thread wolfgang.beck
Date: Sun, 29 Jan 2012 01:55:54 +1100 From: craig.sc...@csiro.au Subject: Re: [Development] Work on qDebug and friends To: development@qt-project.org Message-ID: 6219d4f4-6cd0-4c5f-9e82-3a4a722ed...@csiro.au Content-Type: text/plain; charset=us-ascii Sorry for the lack of context (dealing with

Re: [Development] Development Digest, Vol 4, Issue 94

2012-01-29 Thread wolfgang.beck
Sorry, forgot the Subject -Original Message- From: Beck Wolfgang (Nokia-MP/Brisbane) Sent: Monday, January 30, 2012 10:02 AM To: development@qt-project.org Cc: 'craig.sc...@csiro.au' Subject: RE: Development Digest, Vol 4, Issue 94 Date: Sun, 29 Jan 2012 01:55:54 +1100 From: