mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
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.
This commit is contained in:
parent
4a9f17c690
commit
82fd72a477
@ -35,6 +35,7 @@ EXTRA_DIST += \
|
||||
|
||||
GDK_CFLAGS_DEFINES = \
|
||||
-DG_LOG_DOMAIN=\"Gdk\" \
|
||||
-DG_LOG_USE_STRUCTURED=1 \
|
||||
-DGDK_COMPILATION
|
||||
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user