pskc\_global\_log(3) libpskc pskc\_global\_log(3)

# [NAME](#NAME)

pskc\_global\_log - API function

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;pskc.h&gt;**

**void pskc\_global\_log(pskc\_log\_func log\_func);**

# [ARGUMENTS](#ARGUMENTS)

[pskc\_log\_func log\_func](#pskc_log_func)

new global **pskc\_log\_func** log function to use.

# [DESCRIPTION](#DESCRIPTION)

Enable global debug logging function. The function will be invoked by the library when it wishes to print various debug information.

*pskc\_log\_func* is of the form, void (\*pskc\_log\_func) (const char \*msg);

The application may use this to provide a debug mode with trace information for the user.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to &lt;oath-toolkit-help@nongnu.org&gt;. libpskc home page: https://www.nongnu.org/oath-toolkit/ General help using GNU software: http://www.gnu.org/gethelp/

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2012-2020 Simon Josefsson.  
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

2.6.12-dirty libpskc

---

Document: pskc_global_log(3) from oath-toolkit 2.6.12-r12 (Chainguard OS)
Source: https://gitlab.com/oath-toolkit/oath-toolkit.git
