On Friday 24 February 2012 10:07:52 Lincoln Ramsay wrote:
> However, a format string of say, "%{category}: %{file}:${line} %{func} 
> %{message}" would look odd when the category is empty.
> 
> mycat: foo.c:23 main() qCDebug
> 
> : foo.c:23 main() qDebug
> 
> I took the easy way of declaring a category for qDebug so I wouldn't 
> have to figure out how to do conditional formatting :)

Fair enough. But then call it "default", not "legacy".

-- 
David Faure | [email protected] | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to