qb_log_callsite_get(3)

qb_log_callsite_get3

Get or create a callsite at the given position.

Usage

#include <qb/qblog.h>

struct qb_log_callsite * qb_log_callsite_get(
    const char   *function,  /* originating function name */
    const char   *filename,  /* originating filename */
    const char   *format,    /* format string */
    uint8_t       priority,  /* this takes syslog priorities. */
    uint32_t      lineno,    /* file line number */
    uint32_t      tags       /* the tag */
);

Params

function originating function name

filename originating filename

format format string

priority this takes syslog priorities.

lineno file line number

tags the tag

Overview

The result can then be passed into qb_log_real_()

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.