mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
New function log_clock.
* common/logging.c (log_clock): New. * g10/gpg.c (set_debug): Print clock debug flag. * g10/options.h (DBG_CLOCK_VALUE, DBG_CLOCK): New. -- To actually use log_clock you need to enable the code in logginc.c:log_check() and link against librt. --debug 4096 may then be used to enable it at runtime.
This commit is contained in:
parent
fb31462e7e
commit
0baedfd25a
5 changed files with 43 additions and 2 deletions
|
@ -96,5 +96,7 @@ void log_flush (void);
|
|||
by the hexdump and a final LF. */
|
||||
void log_printhex (const char *text, const void *buffer, size_t length);
|
||||
|
||||
void log_clock (const char *string);
|
||||
|
||||
|
||||
#endif /*LIBJNLIB_LOGGING_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue