mu-test: fix logging verbosity
We were logging _everything since the g_log_set_handler was only set for the default domain, not "mu". Let's fix this.
This commit is contained in:
@ -104,9 +104,8 @@ Mu::mu_test_init(int *argc, char ***argv)
|
|||||||
|
|
||||||
if (!g_test_verbose())
|
if (!g_test_verbose())
|
||||||
g_log_set_handler(
|
g_log_set_handler(
|
||||||
NULL,
|
"mu",
|
||||||
(GLogLevelFlags)(G_LOG_LEVEL_MASK |
|
(GLogLevelFlags)(G_LOG_LEVEL_MASK | G_LOG_FLAG_RECURSION),
|
||||||
G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION),
|
|
||||||
(GLogFunc)black_hole, NULL);
|
(GLogFunc)black_hole, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user