[polari] lib: Turn on structured logging
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] lib: Turn on structured logging
- Date: Sun, 9 Oct 2016 14:58:50 +0000 (UTC)
commit 117e4e2795f3c3e4b3ad154028c66aa26e726caf
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Sep 11 00:58:12 2016 +0200
lib: Turn on structured logging
Let's also turn this on for our C code (and all platform libraries
it uses) ...
https://bugzilla.gnome.org/show_bug.cgi?id=771218
src/Makefile-lib.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile-lib.am b/src/Makefile-lib.am
index 839f07b..6b6886a 100644
--- a/src/Makefile-lib.am
+++ b/src/Makefile-lib.am
@@ -15,7 +15,8 @@ libpolari_sources = \
libpolari_1_0_la_SOURCES = $(libpolari_headers) $(libpolari_sources)
libpolari_1_0_la_LIBADD = $(POLARI_LIBS)
-libpolari_1_0_la_CFLAGS = $(POLARI_CFLAGS) $(WARN_CFLAGS)
+libpolari_1_0_la_CFLAGS = $(POLARI_CFLAGS) $(WARN_CFLAGS) \
+ -DG_LOG_USE_STRUCTURED -DG_LOG_DOMAIN=\"Polari\"
libpolari_1_0_la_LDFLAGS = -avoid-version $(WARN_LDFLAGS)
INTROSPECTION_GIRS += Polari-1.0.gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]