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:
qb_log_filter_fn_set(3)qb_log_from_external_source_va2(3)qb_log_thread_start(3)qb_log_target_user_data_get(3)qb_log_tags_stringify_fn_set(3)qb_log_file_reopen(3)qb_log_fini(3)qb_log_callsites_dump(3)qb_log_ctl2(3)qb_log_target_user_data_set(3)qb_log_target_format(3)qb_log_thread_priority_set(3)qb_log_facility2int(3)qb_log_callsites_register(3)qb_log_filter_ctl2(3)qb_log_file_close(3)qb_log_format_set(3)qb_log_real_(3)qb_log_from_external_source_va(3)qb_log_callsite_get(3)qb_log_blackbox_write_to_file(3)qb_log_from_external_source(3)qb_log_blackbox_print_from_file(3)qb_log_facility2str(3)qb_log_callsite_get2(3)qb_log_ctl(3)qb_log_filter_ctl(3)qb_log_custom_close(3)qb_log_init(3)qb_log_file_open(3)qb_log_custom_open(3)
π COPYRIGHT π
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
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms