1dmmp_context_log_fDuenvci_cseetM(a3p)per Multipath API - libddmmmmpp_Mcaonnutaelxt_log_func_set(3)
2
3
4

NAME

6       dmmp_context_log_func_set - Set log handler function.
7

SYNOPSIS

9       void   dmmp_context_log_func_set   (struct   dmmp_context   *ctx,  void
10       (*log_func) (struct dmmp_context *ctx, int priority, const char  *file,
11       int line, const char *func_name, const char *format, va_list args));
12

ARGUMENTS

14       ctx         Pointer of 'struct dmmp_context'.  If this pointer is NULL,
15                   your program will be terminated by assert.
16
17       log_func    Pointer of log handler function. If set to  NULL,  all  log
18                   will be ignored.
19

DESCRIPTION

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

RETURN

26       void
27
28
29
30March 2018                 dmmp_context_log_func_sedtmmp_context_log_func_set(3)
Impressum