diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2021-10-18 01:51:02 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2021-10-18 01:51:02 -0500 |
commit | 55fd0754377b9ef459e35da750eed571fdb2a081 (patch) | |
tree | 89ee674e3f89441087181a65d5e4da3b544aeebf /finch/plugins | |
parent | 6b6709c256a2ded3769a8e717c9535e2a07ee646 (diff) | |
download | pidgin-55fd0754377b9ef459e35da750eed571fdb2a081.tar.gz |
Enable structured logging in Finch
And add log domains.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1062/
Diffstat (limited to 'finch/plugins')
-rw-r--r-- | finch/plugins/meson.build | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/finch/plugins/meson.build b/finch/plugins/meson.build index 305c2c16e4..9a14f4d8b2 100644 --- a/finch/plugins/meson.build +++ b/finch/plugins/meson.build @@ -1,32 +1,41 @@ if x11.found() gntclipboard = library('gntclipboard', 'gntclipboard.c', + c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Gnt-Clipboard"'], dependencies : [x11, libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gntgf = library('gntgf', 'gntgf.c', - c_args : ncurses_header, + c_args : [ + ncurses_header, + '-DG_LOG_USE_STRUCTURED', + '-DG_LOG_DOMAIN="Gnt-GF"', + ], dependencies : [x11, libpurple_dep, libfinch_dep, ncurses, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) endif gnthistory = library('gnthistory', 'gnthistory.c', + c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Gnt-History"'], dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gntlastlog = library('gntlastlog', 'lastlog.c', + c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Gnt-LastLog"'], dependencies : [libpurple_dep, libfinch_dep, ncurses, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) gnttinyurl = library('gnttinyurl', 'gnttinyurl.c', + c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Gnt-TinyURL"'], dependencies : [libpurple_dep, libfinch_dep, libsoup, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) grouping = library('grouping', 'grouping.c', + c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Gnt-Grouping"'], dependencies : [libpurple_dep, libfinch_dep, glib], name_prefix : '', install : true, install_dir : FINCH_PLUGINDIR) |