After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761368 - build: Set G_LOG_DOMAIN to libchamplain
build: Set G_LOG_DOMAIN to libchamplain
Status: RESOLVED FIXED
Product: libchamplain
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: libchamplain-maint
libchamplain-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-31 17:25 UTC by Hashem Nasarat
Modified: 2016-02-01 09:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Set G_LOG_DOMAIN to libchamplain (1.45 KB, patch)
2016-01-31 17:25 UTC, Hashem Nasarat
none Details | Review

Description Hashem Nasarat 2016-01-31 17:25:23 UTC
"Libraries should define this so that any messages which they log can be
differentiated from messages from other libraries and application code"

https://developer.gnome.org/glib/stable/glib-Message-Logging.html#G-LOG-DOMAIN:CAPS

This enables us to filter debug messages to only see libchamplain
output — quite useful!

E.g.  G_MESSAGES_DEBUG=libchamplain CHAMPLAIN_DEBUG=view gnome-maps
Comment 1 Hashem Nasarat 2016-01-31 17:25:25 UTC
Created attachment 320139 [details] [review]
build: Set G_LOG_DOMAIN to libchamplain
Comment 2 Jiri Techet 2016-02-01 09:08:56 UTC
Applied, thanks!