1QB_LOG_CALLSITES_REGISTER(3)libqb Programmer's ManuaQlB_LOG_CALLSITES_REGISTER(3)
2
3
4
6 qb_log_callsites_register - If you are using dynamically loadable mod‐
7 ules via dlopen() and you load them after qb_log_init() then after you
8 load the module you will need to do the following to get the filters to
9 work in that module:
10
12 #include <qb/qblog.h>
13
14 int32_t qb_log_callsites_register(
15 struct qb_log_callsite *_start,
16 struct qb_log_callsite *_stop
17 );
18
21 An instance of this structure is created for each log message.
22
23 struct qb_log_callsite {
24 const char *function;
25 const char *filename;
26 const char *format;
27 uint8_t priority;
28 uint32_t lineno;
29 uint32_t targets;
30 uint32_t tags;
31 };
32
34 qb_log_filter_fn_set(3), qb_log_thread_start(3),
35 qb_log_target_user_data_get(3), qb_log_tags_stringify_fn_set(3),
36 qb_log_file_reopen(3), qb_log_fini(3), qb_log_callsites_dump(3),
37 qb_log_ctl2(3), qb_log_target_user_data_set(3),
38 qb_log_target_format(3), qb_log_thread_priority_set(3),
39 qb_log_facility2int(3), qb_log_filter_ctl2(3), qb_log_file_close(3),
40 qb_log_format_set(3), qb_log_real_(3),
41 qb_log_from_external_source_va(3), qb_log_callsite_get(3),
42 qb_log_blackbox_write_to_file(3), qb_log_real_va_(3),
43 qb_log_from_external_source(3), qb_log_blackbox_print_from_file(3),
44 qb_log_facility2str(3), qb_log_ctl(3), qb_log_filter_ctl(3),
45 qb_log_custom_close(3), qb_log_init(3), qb_log_file_open(3),
46 qb_log_custom_open(3)
47
49 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
50
51
52
53LIBQB 2020-07-30 QB_LOG_CALLSITES_REGISTER(3)