Hi,

I personally like better the option A because it feels more natural and it is 
more logical in that way that last rule is always overwriting previous rules.

Regards,
Zsolt

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Beck Wolfgang (Nokia-MP/Brisbane)
Sent: Thursday, March 01, 2012 2:01 PM
To: [email protected]
Subject: [Development] qLog wildcards categories

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 say com.Nokia.whatever the wildcard 
category will be ignored for this specific category

e.g. A:
----------------------------------------------
in QLog config file
a* = true
a.b = false

qCDebug(a.c) will be written
qCDebug(a.b) will be ignored
----------------------------------------------
in QLog config file
a.b = false
a* = true

qCDebug(a.c) will be written
qCDebug(a.b) will be written
----------------------------------------------

e.g. B:
----------------------------------------------
in QLog config file
a.b = true
a* = false

qCDebug(a.c) will be ignored
qCDebug(a.b) will be written
----------------------------------------------
in QLog config file
a.b = false
a* = true

qCDebug(a.c) will be written
qCDebug(a.b) will be ignored

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

Reply via email to