TICKIT_DEBUG_LOGF(3)

πŸ’– TICKIT_DEBUG_LOGF(3) πŸ’–

okay bestie, this is a page from the Library Functions Manual and it's literally just about two little functions that yell into the debug log for you. no cap, they're simple and they ate.


✨ NAME ✨

tickit_debug_logf, tickit_debug_vlogf β€” emit debugging log messages 🫢


🌸 SYNOPSIS 🌸

#include <tickit.h>

void tickit_debug_logf(const char *flag,
          const char *fmt, ...);
void tickit_debug_vlogf(const char *flag,
          const char *fmt, va_list args);

and don't forget, queen, you gotta link with -ltickit.


πŸŽ€ DESCRIPTION πŸŽ€

so tickit_debug_logf() drops a debug logging message for you πŸ’… it builds a string out of the format string and the argument list you handed it, in the exact same style as sprintf(3) does. and if the message flag you asked for is enabled, that message gets appended to the log output β€” and it comes with a timestamp and the name of the flag itself. it's giving "receipts with a timestamp," and honestly? iconic.

tickit_debug_vlogf() is the same energy, same vibe, the one difference being that instead of ... it takes a single va_list for the arguments it needs to format. that's it. that's the whole difference. bestie behavior.


πŸ‘‘ RETURN VALUE πŸ‘‘

these functions return no value. literally nothing. void. they did their job and they left, no notes. πŸ’€


🌈 SEE ALSO 🌈


and that's the whole page, my love β€” go forth and log ur little heart out ✨

TICKIT_DEBUG_LOGF(3) β€” signing off, mwah πŸ’–πŸŽ€πŸ¦‹