QB_LOG_REAL_VA_(3)

πŸ’– qb_log_real_va_ πŸ’–

okay bestie, welcome to the libqb programmer's manual, and today's main character is qb_log_real_va_ β€” no cap, she's the one who actually pushes your log message out into the world. sit down, hydrate, let's get into it 🫢


✨ SYNOPSIS ✨

#include <qb/qblog.h>

void qb_log_real_va_(
    struct qb_log_callsite   *cs,
    va_list                   ap
);

🌸 DESCRIPTION 🌸

so like… there's literally nothing written here in the original. not a single line. she's giving mystery, she's giving silence, she's giving "the vibes speak for themselves" πŸ’… the function signature up in SYNOPSIS is doing all the talking, and the structs section right below is the lore drop. that's it, that's the description. iconic behaviour honestly.


πŸŽ€ STRUCTURES πŸŽ€

okay so the tea here is: an instance of this structure gets created for each log message with the message-id. yes, every single one. she's thorough like that ✨

struct qb_log_callsite {
    const char   *function;
    const char   *filename;
    const char   *format;
    uint8_t       priority;
    uint32_t      lineno;
    uint32_t      targets;
    uint32_t      tags;
    const char   *message_id;
};

that's the whole fit. function, filename, format, priority, lineno, targets, tags, message_id β€” every field exactly where she belongs, no notes πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

the whole girl gang, fr fr. go read these too, they're all part of the same universe:


Copyright (c) 2017 Red Hat, Inc.


and that's the whole page bestie!! πŸŽ€ thanks for reading, mwah πŸ’–

signing off from the libqb manual, 2025-09-16, LIBQB edition, page QB_LOG_REAL_VA_(3) β€” stay logging, stay slaying βœ¨πŸ’…

πŸ“¦ where this page comes from