1QB_LOG_CALLSITE_GET(3)     libqb Programmer's Manual    QB_LOG_CALLSITE_GET(3)
2
3
4

NAME

6       qb_log_callsite_get - Get or create a callsite at the given position.
7
8

SYNOPSIS

10       #include <qb/qblog.h>
11
12       struct qb_log_callsite * qb_log_callsite_get(
13           const char   *function,  /* originating function name */
14           const char   *filename,  /* originating filename */
15           const char   *format,    /* format string */
16           uint8_t       priority,  /* this takes syslog priorities. */
17           uint32_t      lineno,    /* file line number */
18           uint32_t      tags       /* the tag */
19       );
20

PARAMS

22       function originating function name
23
24       filename originating filename
25
26       format   format string
27
28       priority this takes syslog priorities.
29
30       lineno   file line number
31
32       tags     the tag
33

DESCRIPTION

35       The result can then be passed into qb_log_real_()
36

SEE ALSO

38       qb_log_filter_fn_set(3), qb_log_from_external_source_va2(3),
39       qb_log_thread_start(3), qb_log_target_user_data_get(3),
40       qb_log_tags_stringify_fn_set(3), qb_log_file_reopen(3), qb_log_fini(3),
41       qb_log_callsites_dump(3), qb_log_ctl2(3),
42       qb_log_target_user_data_set(3), qb_log_target_format(3),
43       qb_log_thread_priority_set(3), qb_log_facility2int(3),
44       qb_log_callsites_register(3), qb_log_filter_ctl2(3),
45       qb_log_file_close(3), qb_log_format_set(3), qb_log_real_(3),
46       qb_log_from_external_source_va(3), qb_log_blackbox_write_to_file(3),
47       qb_log_real_va_(3), qb_log_from_external_source(3),
48       qb_log_blackbox_print_from_file(3), qb_log_facility2str(3),
49       qb_log_callsite_get2(3), qb_log_ctl(3), qb_log_filter_ctl(3),
50       qb_log_custom_close(3), qb_log_init(3), qb_log_file_open(3),
51       qb_log_custom_open(3)
52
54       Copyright (c) 2017 Red Hat, Inc.
55
56
57
58LIBQB                             2023-07-21            QB_LOG_CALLSITE_GET(3)
Impressum