Sponsor:

Your company here, and a link to your site. Click to find out more.

iscsi_log_priority_str - Man Page

Convert log priority to string.

Synopsis

const char * iscsi_log_priority_str (int priority);

Arguments

priority

int. Log priority.

Description

Convert log priority to string (const char *).

Return

const char *. Please don't free returned pointer. Valid string are:

* "ERROR" for LIBISCSI_LOG_PRIORITY_ERROR

* "WARN"  for LIBISCSI_LOG_PRIORITY_WARNING

* "INFO"  for LIBISCSI_LOG_PRIORITY_INFO

* "DEBUG" for LIBISCSI_LOG_PRIORITY_DEBUG

* "Invalid argument" for invalid log priority.

Info

January 2024 API Manual