QB_LOG_INIT(3)
β¨ qb_log_init β¨
okay bestie, welcome to the libqb Programmer's Manual, section 3, and today's main character is qb_log_init β the girl who starts the whole logging system. π
no cap.
πΈ NAME πΈ
qb_log_init β Init the logging system.
like. she initializes the logging. that's the whole job description. iconic.
π SYNOPSIS π
#include <qb/qblog.h>
void qb_log_init(
const char *name, /* will be passed into openlog() */
int32_t facility, /* default for all new targets. */
uint8_t priority /* a basic filter with this priority will be added. */
);
she returns void, so likeβ¦ no receipts, no notes, she just does it. π«Ά
π¦ PARAMS π¦
nameβ will be passed intoopenlog(). fr fr, that's the whole thing, she just hands it over. πfacilityβ default for all new targets. lowkey setting the vibe for every target that shows up later. β¨priorityβ a basic filter with this priority will be added. so she's out here installing a whole filter for you before you even ask. queen behavior. π
π DESCRIPTION π
ngl bestie, the original page leaves this section empty. not me checking twice. π the manpage literally says DESCRIPTION and thenβ¦ nothing. silence. a moment of peace. π
so there's no extra lore here to spill. the synopsis and the params are the whole story. don't @ me. π
π SEE ALSO π
okay so this page is social β she knows everyone. here's the whole group chat:
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_real_va_(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_file_open(3)qb_log_custom_open(3)
π COPYRIGHT π
Copyright (c) 2017 Red Hat, Inc.
and that's the page bestie π it's from LIBQB, dated 2025-09-16, and it lives at QB_LOG_INIT(3) in the libqb Programmer's Manual. slay, go init your logs, mwah πβ¨π¦
π¦ 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