1dmmp_context_log_fDuenvci_cseetM(a3p)per Multipath API - libddmmmmpp_Mcaonnutaelxt_log_func_set(3)
2
3
4
6 dmmp_context_log_func_set - Set log handler function.
7
9 void dmmp_context_log_func_set (struct dmmp_context *ctx, void
10 (*log_func) (struct dmmp_context *ctx, int priority, const char
11 *file, int line, const char *func_name, const char *format, va_list
12 args));
13
15 ctx Pointer of 'struct dmmp_context'. If this pointer is NULL,
16 your program will be terminated by assert.
17
18 log_func Pointer of log handler function.
19
21 Set custom log handler. The log handler will be invoked when log mes‐
22 sage is equal or more important(less value) than log priority setting.
23 Please check manpage libdmmp.h(3) for detail usage.
24
26 void
27
28
29
30October 2018 dmmp_context_log_func_sedtmmp_context_log_func_set(3)