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())
|
||||
g_log_set_handler(
|
||||
NULL,
|
||||
(GLogLevelFlags)(G_LOG_LEVEL_MASK |
|
||||
G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION),
|
||||
"mu",
|
||||
(GLogLevelFlags)(G_LOG_LEVEL_MASK | G_LOG_FLAG_RECURSION),
|
||||
(GLogFunc)black_hole, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user