c++ - Default QLoggingCategory to be disabled? -


i use qloggingcategories in projects , classes now. works great.

i disable logging categories using environment variables.

but dont want explicitely disable logging categories. instead want opposite: enable categories.

it nice if custom logging categories show warnings, criticals , fatals, not info or debug.

when using q_declare_logging_category how can disable debug , info automatically?

in case don't have main() method set filter roles (because qt quick app , qtest).

is possible declare default visibility per class inside q_declare_logging_category declaration?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -