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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -