summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-11-04 16:53:25 +0100
committerThomas Haller <thaller@redhat.com>2020-11-09 17:25:25 +0100
commit0d083f5dabe10a8bbd32fdfce032394b877c5bee (patch)
treea0e64d5680bc29242dfba68fbb77f890ef46f50c /Makefile.am
parent336270edd5a6237f2569a1260d11afdde6bec629 (diff)
downloadNetworkManager-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