.TH "iscsi_context_log_priority_set" 3 "iscsi_context_log_priority_set" "June 2023" "API Manual" LINUX .SH NAME iscsi_context_log_priority_set \- Set log priority. .SH SYNOPSIS .B "void" iscsi_context_log_priority_set .BI "(struct iscsi_context *" ctx "," .BI "int " priority ");" .SH ARGUMENTS .IP "ctx" 12 Pointer of 'struct iscsi_context'. If this pointer is NULL, your program will be terminated by assert. .IP "priority" 12 int, log priority. .SH "DESCRIPTION" When library generates log message, only equal or more important(less value) message will be forwarded to log handler function. Valid log priority values are: * LIBISCSI_LOG_PRIORITY_ERROR -- 3 * LIBISCSI_LOG_PRIORITY_WARNING -- 4 * LIBISCSI_LOG_PRIORITY_INFO -- 6 * LIBISCSI_LOG_PRIORITY_DEBUG -- 7 .SH "RETURN" void