diff options
| author | Werner Koch <[email protected]> | 2024-04-25 10:12:35 +0200 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2024-04-25 10:12:35 +0200 |
| commit | 2f9a0895a103f0baf1c2ea38662112c1359bdb90 (patch) | |
| tree | cdf915e61c0de5c1dc9ed02de793e8c7dcc16d31 /NEWS | |
| parent | core: New function gpgrt_add_post_log_func. (diff) | |
| download | libgpg-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-- | NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |
