Home GnuPG

logging: New function gpgrt_logv_domain.

Description

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.

Details

Provenance
wernerAuthored on Apr 25 2024, 10:12 AM
Parents
rE319a505623c1: core: New function gpgrt_add_post_log_func.
Branches
Unknown
Tags
Unknown