dmmp_log_priority_str man page

dmmp_log_priority_str ā€” Convert log priority to string.

Synopsis

const char * dmmp_log_priority_str (int priority);

Arguments

priority

int. Log priority.

Description

Convert log priority to string (const char *).

Return

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.

Info

July 2019 Device Mapper Multipath API - libdmmp Manual