.\" Automatically generated man page, do not edit .TH QB_LOG_FROM_EXTERNAL_SOURCE 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_log_from_external_source \- This function is to import logs from other code (like libraries) that provide a callback with their logs. .SH SYNOPSIS .nf .B #include .sp \fBvoid qb_log_from_external_source\fP( \fBconst char *\fP\fIfunction\fP, \fBconst char *\fP\fIfilename\fP, \fBconst char *\fP\fIformat\fP, \fBuint8_t \fP\fIpriority\fP, \fBuint32_t \fP\fIlineno\fP, \fBuint32_t \fP\fItags\fP, \fB... \fP\fI\fP ); .fi .SH PARAMS \fBfunction \fP\fIoriginating function name \fP .PP \fBfilename \fP\fIoriginating filename \fP .PP \fBformat \fP\fIformat string \fP .PP \fBpriority \fP\fIthis takes syslog priorities. \fP .PP \fBlineno \fP\fIfile line number \fP .PP \fBtags \fP\fIthis is a uint32_t that you can use with \fP .PP \fB \fP\fI(null)\fP .PP .SH DESCRIPTION .SH NOTE .PP the performance of this will not impress you, as the filtering is done on each log message, not beforehand. So try doing basic pre-filtering. .SH SEE ALSO .PP .nh .ad l \fIqb_log_filter_fn_set\fR(3), \fIqb_log_thread_start\fR(3), \fIqb_log_target_user_data_get\fR(3), \fIqb_log_tags_stringify_fn_set\fR(3), \fIqb_log_file_reopen\fR(3), \fIqb_log_fini\fR(3), \fIqb_log_callsites_dump\fR(3), \fIqb_log_ctl2\fR(3), \fIqb_log_target_user_data_set\fR(3), \fIqb_log_target_format\fR(3), \fIqb_log_thread_priority_set\fR(3), \fIqb_log_facility2int\fR(3), \fIqb_log_callsites_register\fR(3), \fIqb_log_filter_ctl2\fR(3), \fIqb_log_file_close\fR(3), \fIqb_log_format_set\fR(3), \fIqb_log_real_\fR(3), \fIqb_log_from_external_source_va\fR(3), \fIqb_log_callsite_get\fR(3), \fIqb_log_blackbox_write_to_file\fR(3), \fIqb_log_real_va_\fR(3), \fIqb_log_blackbox_print_from_file\fR(3), \fIqb_log_facility2str\fR(3), \fIqb_log_ctl\fR(3), \fIqb_log_filter_ctl\fR(3), \fIqb_log_custom_close\fR(3), \fIqb_log_init\fR(3), \fIqb_log_file_open\fR(3), \fIqb_log_custom_open\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.