dmmp_log_priority_str(3)

dmmp_log_priority_str3

Convert log priority to string.

Usage

const char * dmmp_log_priority_str (int priority);

Arguments

priority

int. Log priority.

Overview

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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. Arch

From multipath-tools 0.15.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.