diff options
author | Thomas Haller <thaller@redhat.com> | 2020-11-04 16:53:25 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-11-09 17:25:25 +0100 |
commit | 0d083f5dabe10a8bbd32fdfce032394b877c5bee (patch) | |
tree | a0e64d5680bc29242dfba68fbb77f890ef46f50c /Makefile.am | |
parent | 336270edd5a6237f2569a1260d11afdde6bec629 (diff) | |
download | NetworkManager-0d083f5dabe10a8bbd32fdfce032394b877c5bee.tar.gz |
libnm: add nm_utils_print() function
libnm supports verbose debug logging by setting "LIBNM_CLIENT_DEBUG"
environment variable. That mechanism uses g_printerr() (or g_print()).
When testing an application it's useful to combine printf debugging
with this debug logging. However, python's print() statement is
additionally buffered and not in sync with the logging functions that
libnm uses.
As far as I see, g_print() and g_printerr() is not accessible via
introspections/pygobject, probably because these are variadic functions.
Add nm_utils_print() to libnm. This ensures to use the same logging
mechanism as libnm.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions