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
Post a Comment