---
name: "pskc_global_log"
section: "3"
platform: "linux"
package: "oath-toolkit"
version: "2.6.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pskc_global_log"
---

# pskc\_global\_log(3)

API function

## NAME

pskc\_global\_log - API function

## SYNOPSIS

**#include \<pskc.h\>**

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

## ARGUMENTS

- pskc\_log\_func log\_func

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

## 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

Report bugs to \<oath-toolkit-help@nongnu.org\>. libpskc home page: https://oath-toolkit.codeberg.page/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2009-2026 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.
