Commit d737b96a by Philipp Adolf

Add example for using logging categories

parent 59566e61
......@@ -5,7 +5,11 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QLoggingCategory::setFilterRules("*.debug=false");
QLoggingCategory::setFilterRules("*.debug=false\n");
// If you want to enable debug output for some categories use something like this:
//QLoggingCategory::setFilterRules("*.debug=false\n"
// "mesh.debug=true\n");
MainWindow w;
w.show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment