aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-04-25 10:12:35 +0200
committerWerner Koch <[email protected]>2024-04-25 10:12:35 +0200
commit2f9a0895a103f0baf1c2ea38662112c1359bdb90 (patch)
treecdf915e61c0de5c1dc9ed02de793e8c7dcc16d31 /NEWS
parentcore: New function gpgrt_add_post_log_func. (diff)
downloadlibgpg-error-2f9a0895a103f0baf1c2ea38662112c1359bdb90.tar.gz
libgpg-error-2f9a0895a103f0baf1c2ea38662112c1359bdb90.zip
logging: New function gpgrt_logv_domain.
* src/gpg-error.h.in (gpgrt_logv_domain): New. Also add printf attributes to the other logv functions. * src/visibility.c (gpgrt_logv_domain): New. -- This function can be used instead of gpgrt_logv to provide a somain string. As of now this has no effect but we may later add an API to allow selection of diagnostics depending on the domain. There is also a new (buffer,length) argument which will eventually be used to provide a domain based gpgrt_log_printhex.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a41520a..19ba657 100644
--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,16 @@
Noteworthy changes in version 1.49 (unreleased) [C35/A35/R_]
-----------------------------------------------
+ * Two new functions to improve the logging interface. The
+ gpgrt_logv_domain is currently the same as gpgrt_logv_prefix but
+ allows to pass a domain string so that in future we will be able to
+ select log output by domain. It also provide a non yet functional
+ feature to include a hex dump.
* Interface changes relative to the 1.48 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgrt_add_post_log_func NEW.
-
+ gpgrt_logv_domain NEW.
Release-info: https://dev.gnupg.org/T7012