.\" Automatically generated man page, do not edit .TH QB_LOG_INIT 3 2023-07-21 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_log_init \- Init the logging system. .SH SYNOPSIS .nf .B #include .sp \fBvoid qb_log_init\fP( \fBconst char *\fP\fIname\fP,\fR /* will be passed into openlog() */ \fBint32_t \fP\fIfacility\fP,\fR /* default for all new targets. */ \fBuint8_t \fP\fIpriority\fP\fR /* a basic filter with this priority will be added. */ ); .fi .SH PARAMS \fBname \fP\fIwill be passed into openlog() \fP .PP \fBfacility \fP\fIdefault for all new targets. \fP .PP \fBpriority \fP\fIa basic filter with this priority will be added. \fP .PP .SH DESCRIPTION .SH SEE ALSO .PP .nh .ad l \fIqb_log_filter_fn_set\fR(3), \fIqb_log_from_external_source_va2\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_from_external_source\fR(3), \fIqb_log_blackbox_print_from_file\fR(3), \fIqb_log_facility2str\fR(3), \fIqb_log_callsite_get2\fR(3), \fIqb_log_ctl\fR(3), \fIqb_log_filter_ctl\fR(3), \fIqb_log_custom_close\fR(3), \fIqb_log_file_open\fR(3), \fIqb_log_custom_open\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (c) 2017 Red Hat, Inc.