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 into openlog(). 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:


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