DOKK / manpages / debian 12 / multipath-tools / dmmp_log_priority_str.3.en
dmmp_log_priority_str(3) Device Mapper Multipath API - libdmmp Manual dmmp_log_priority_str(3)

dmmp_log_priority_str - Convert log priority to string.

const char * dmmp_log_priority_str (int priority);

int. Log priority.

Convert log priority to string (const char *).

const char *. Valid string are:

* "ERROR" for DMMP_LOG_PRIORITY_ERROR

* "WARN " for DMMP_LOG_PRIORITY_WARNING

* "INFO " for DMMP_LOG_PRIORITY_INFO

* "DEBUG" for DMMP_LOG_PRIORITY_DEBUG

* "Invalid argument" for invalid log priority.

dmmp_log_priority_str March 2018