diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-07-22 23:11:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-07-22 23:13:20 -0400 |
commit | 82fd72a477682dce8383485372192130aa440f77 (patch) | |
tree | 8ed3c4d523048ba5b2224a390f72a36d798aeac7 | |
parent | 4a9f17c690c450f4a937badf3cb631743e663eed (diff) | |
download | gtk+-82fd72a477682dce8383485372192130aa440f77.tar.gz |
Opt in to structured logging
Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning,
etc calls directly use structured logging and provide source information.
-rw-r--r-- | gdk/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/broadway/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/mir/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/quartz/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/wayland/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/win32/Makefile.am | 1 | ||||
-rw-r--r-- | gdk/x11/Makefile.am | 1 | ||||
-rw-r--r-- | gtk/Makefile.am | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/gdk/Makefile.am b/gdk/Makefile.am index 91da7bdb3c..188ff56326 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -35,6 +35,7 @@ EXTRA_DIST += \ GDK_CFLAGS_DEFINES = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION diff --git a/gdk/broadway/Makefile.am b/gdk/broadway/Makefile.am index 59dc5d09a5..f1c392353f 100644 --- a/gdk/broadway/Makefile.am +++ b/gdk/broadway/Makefile.am @@ -7,6 +7,7 @@ libgdkbroadwayincludedir = $(includedir)/gtk-3.0/gdk/broadway AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gdk/mir/Makefile.am b/gdk/mir/Makefile.am index ea2dac86c4..71b6e37210 100644 --- a/gdk/mir/Makefile.am +++ b/gdk/mir/Makefile.am @@ -6,6 +6,7 @@ libgdkmirincludedir = $(includedir)/gtk-3.0/gdk/mir AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gdk/quartz/Makefile.am b/gdk/quartz/Makefile.am index 8954849a62..18fdbd3355 100644 --- a/gdk/quartz/Makefile.am +++ b/gdk/quartz/Makefile.am @@ -5,6 +5,7 @@ libgdkquartzincludedir = $(includedir)/gtk-3.0/gdk/quartz AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gdk/wayland/Makefile.am b/gdk/wayland/Makefile.am index ba568d7f06..fdadb242a7 100644 --- a/gdk/wayland/Makefile.am +++ b/gdk/wayland/Makefile.am @@ -6,6 +6,7 @@ libgdkwaylandincludedir = $(includedir)/gtk-3.0/gdk/wayland AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gdk/win32/Makefile.am b/gdk/win32/Makefile.am index 5b3af48574..991bf708cb 100644 --- a/gdk/win32/Makefile.am +++ b/gdk/win32/Makefile.am @@ -6,6 +6,7 @@ libgdkwin32includedir = $(includedir)/gtk-3.0/gdk/win32 AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DINSIDE_GDK_WIN32 \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gdk/x11/Makefile.am b/gdk/x11/Makefile.am index 6223e7e3fa..6289f3ac79 100644 --- a/gdk/x11/Makefile.am +++ b/gdk/x11/Makefile.am @@ -6,6 +6,7 @@ libgdkx11includedir = $(includedir)/gtk-3.0/gdk/x11 AM_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Gdk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGDK_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/gdk \ diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 81692cef33..611b96eac0 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -4,6 +4,7 @@ include $(top_srcdir)/Makefile.decl GTK_BASE_CFLAGS_DEFINES = \ -DG_LOG_DOMAIN=\"Gtk\" \ + -DG_LOG_USE_STRUCTURED=1 \ -DGTK_VERSION=\"$(GTK_VERSION)\" \ -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \ -DGTK_COMPILATION \ |