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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -