common: New function log_logv_with_prefix.
authorWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 16:22:59 +0000 (17:22 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 16:22:59 +0000 (17:22 +0100)
commit3e9512e557d95c7dc36835365b127b25f6a5cdd9
treee3b18e2304d256c761457023556ee9b5cb765741
parente174893262d8de0f52faa8abe4fc0402719a35d8
common: New function log_logv_with_prefix.

* common/logging.c (do_logv): Add arg 'prefmt' and print it.  Chnage
call callers to pass NULL.
(log_logv_with_prefix): New.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
common/logging.c
common/logging.h