1iscsi_context_log_func_set(3)     API Manual     iscsi_context_log_func_set(3)
2
3
4

NAME

6       iscsi_context_log_func_set - Set log handler function.
7

SYNOPSIS

9       void   iscsi_context_log_func_set   (struct  iscsi_context  *ctx,  void
10       (*log_func) (struct iscsi_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  iscsi_context'.   If  this pointer is
15                   NULL, your program will be terminated by assert.
16
17       log_func    Pointer of log handler function.
18

DESCRIPTION

20       Set custom log handler. The log handler will be invoked when  log  mes‐
21       sage  is equal or more important(less value) than log priority setting.
22       Please check manpage libopeniscsiusr.h(3) for detail usage.
23

RETURN

25       void
26
27
28
29July 2023                 iscsi_context_log_func_siestcsi_context_log_func_set(3)
Impressum