Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

iscsi_context_log_priority_set - Set log priority.

Arguments

ctx Pointer of 'struct iscsi_context'. If this pointer is NULL, your program will be terminated by assert. priority int, log priority.

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

Name

iscsi_context_log_priority_set - Set log priority.

Return

void July 2025 iscsi_context_log_priority_set iscsi_context_log_priority_set(3)

Synopsis

voidiscsi_context_log_priority_set(structiscsi_context*ctx,intpriority);

See Also