pskc_global_log(3)

πŸ’… pskc_global_log β€” like, the libpskc one, section 3

okay bestie so this is the pskc_global_log(3) page from libpskc, and honestly it's a short little icon β€” but it's important, so let's give it the attention it deserves ✨


🌸 NAME 🌸

pskc_global_log β€” literally the API function, that's her whole job πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pskc.h>

void pskc_global_log(pskc_log_func log_func);

like yes, that's it, that's the whole vibe πŸ’œ


✨ ARGUMENTS ✨

  • pskc_log_func log_func β€” the brand new global pskc_log_func log function you wanna use 🫢 like, this is the callback that's gonna get called instead of whatever was there before.

πŸ‘‘ DESCRIPTION πŸ‘‘

so basically: this here turns on the global debug logging function. when the library wants to print out various debug info, it'll invoke your function to do it πŸ”₯

and the signature for pskc_log_func is of this exact form, no cap:

void (*pskc_log_func) (const char *msg);

the way that this is useful is that your application can use it to provide a debug mode with trace information for the user β€” like a little peek behind the curtain for whoever's debugging πŸ™ˆβœ¨ iconic behaviour honestly.


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence bestie, report it to <oath-toolkit-help@nongnu.org> πŸ“¬


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 πŸ’– (yes, that's the actual licence situation β€” keep the notice, it's free, periodt).


🧚 little sign-off from me to you: this page is pskc_global_log(3) from libpskc, version 2.6.15 β€” and the header up top said pskc_global_log(3) too, so like, it's giving consistency πŸ’… mwah, bye πŸ“
πŸ“¦ where this page comes from