1QB_LOG_CALLSITE_GET(3) libqb Programmer's Manual QB_LOG_CALLSITE_GET(3)
2
3
4
6 qb_log_callsite_get - Get or create a callsite at the given position.
7
9 #include <qb/qblog.h>
10
11 struct qb_log_callsite* qb_log_callsite_get(
12 const char *function,
13 const char *filename,
14 const char *format,
15 uint8_t priority,
16 uint32_t lineno,
17 uint32_t tags
18 );
19
21 function originating function name
22
23 filename originating filename
24
25 format format string
26
27 priority this takes syslog priorities.
28
29 lineno file line number
30
31 tags the tag
32
34 The result can then be passed into qb_log_real_()
35
37 qb_log_filter_fn_set(3), qb_log_thread_start(3),
38 qb_log_target_user_data_get(3), qb_log_tags_stringify_fn_set(3),
39 qb_log_file_reopen(3), qb_log_fini(3), qb_log_callsites_dump(3),
40 qb_log_ctl2(3), qb_log_target_user_data_set(3),
41 qb_log_target_format(3), qb_log_thread_priority_set(3),
42 qb_log_facility2int(3), qb_log_callsites_register(3),
43 qb_log_filter_ctl2(3), qb_log_file_close(3), qb_log_format_set(3),
44 qb_log_real_(3), qb_log_from_external_source_va(3),
45 qb_log_blackbox_write_to_file(3), qb_log_real_va_(3),
46 qb_log_from_external_source(3), qb_log_blackbox_print_from_file(3),
47 qb_log_facility2str(3), qb_log_ctl(3), qb_log_filter_ctl(3),
48 qb_log_custom_close(3), qb_log_init(3), qb_log_file_open(3),
49 qb_log_custom_open(3)
50
52 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
53
54
55
56LIBQB 2020-07-30 QB_LOG_CALLSITE_GET(3)