summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <qignacio@amazon.com>2022-05-13 15:20:09 +0200
committerIgnacio Casal Quinteiro <qignacio@amazon.com>2022-05-15 11:12:34 +0200
commitf31598c73c167574ea95b21939605a1f71b8abc3 (patch)
tree1f38ee7dbd4187b740ebc59a2a0147f36be0900d /meson.build
parent0e933937c1db624d08fdbbddcc39eb2047ff138f (diff)
downloadglib-networking-f31598c73c167574ea95b21939605a1f71b8abc3.tar.gz
tlslog: add meson config setting to log at debug level
Otherwise this becomes expensive when doing lots of read/writes and endups consuming quite a bit of CPU. Partially fixes #188 Part-of: <https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/210>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5335d89..754e163 100644
--- a/meson.build
+++ b/meson.build
@@ -21,6 +21,7 @@ host_system = host_machine.system()
config_h = configuration_data()
config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())
+config_h.set10('ENABLE_DEBUG_LOGS', get_option('debug_logs'))
# compiler flags
common_flags = [