aboutsummaryrefslogtreecommitdiff
path: root/tests/glib-fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glib-fixture.h')
-rw-r--r--tests/glib-fixture.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h
index 4128033..c6ecc68 100644
--- a/tests/glib-fixture.h
+++ b/tests/glib-fixture.h
@@ -44,11 +44,12 @@ class GlibFixture : public ::testing::Test
private:
- static void default_log_handler (const gchar * log_domain G_GNUC_UNUSED,
+ static void default_log_handler (const gchar * log_domain,
GLogLevelFlags log_level,
- const gchar * message G_GNUC_UNUSED,
+ const gchar * message,
gpointer self)
{
+ g_print ("%s - %d - %s", log_domain, (int)log_level, message);
static_cast<GlibFixture*>(self)->logCounts[log_level]++;
}