----- Original Message -----
> From: "wolfgang.b...@nokia.com" <wolfgang.b...@nokia.com>
> To: robin...@viroteck.net; david.fa...@kdab.com
> Cc: development@qt-project.org
> Sent: Thursday, February 2, 2012 6:00 PM
> Subject: Re: [Development] QLog ( Work on qDebug and friends)
> 
> I think we can change the current QLog.
> 
> Category using qDebug(category) and writing stuff out in an output file.
> For me a logging file is much more important than system logs or socket 
> because 
> you can ask the customer that uses your Qt application to send you back the 
> output log file.
> Other cool stuff like writing into sockets can be done in an addOn or even in 
> a 
> plugin.

qDebug() and friends should continue outputting as they currently do. The only 
difference should be the addition of the category/area (whatever you want to 
call it);
and even then that should be available to the message handler as additional 
information that could be used; but the default probably should not do so.


Anything else should be in the add-on as it is a preference for the application 
usage.
Some instances its better to have a file; others a shared system. It's a 
decision that should be left up to each application.
That's why it should be in the add-on only.

Ben
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to