DMMP_LOG_PRIORITY_STR(3)
β¨ dmmp_log_priority_str β the Device Mapper Multipath API / libdmmp manual, bestie edition β¨
okay so we're deep in the Device Mapper Multipath API (libdmmp) manual and this one is genuinely a lil baby function but she's important, so let's go π
π NAME π
dmmp_log_priority_str β she takes a log priority and turns it into a string. that's it. that's the whole job. and she does it flawlessly.
π SYNOPSIS π
const char * dmmp_log_priority_str (int priority);
π¦ ARGUMENTS π¦
priorityβ anint. it's the log priority, bestie. the thing you want translated. that's the vibe.
πΈ DESCRIPTION πΈ
she converts a log priority into a string β specifically a const char *. like, you hand her the number, she hands you back the word. no cap, that's the entire plot of this function, and honestly? iconic of her.
π RETURN π
you get back a const char *. and these are the valid strings she'll hand you, fr fr:
"ERROR"forDMMP_LOG_PRIORITY_ERROR"WARN "forDMMP_LOG_PRIORITY_WARNING"INFO "forDMMP_LOG_PRIORITY_INFO"DEBUG"forDMMP_LOG_PRIORITY_DEBUG"Invalid argument"for an invalid log priority
bestie look closely:"WARN "and"INFO "both have a trailing space in there. that's not a typo, that's canon, do not touch her. π«Ά
π SEE ALSO π
nothing extra listed here, so just take this function and go be great with it β¨
so yeah, that's dmmp_log_priority_str from the Device Mapper Multipath API - libdmmp Manual, page dmmp_...ty_str(3), dated June 2025. slay, ate, no crumbs left ππ§π
π¦ where this page comes from
- arch rolling: multipath-tools 0.15.1-1 Β· GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: libdmmp-devel 0.13.1-1.fc44 Β· GPL-2.0-only AND GPL-3.0-only
- fedora 44: libdmmp-devel 0.13.1-1.fc44 Β· GPL-2.0-only AND GPL-3.0-only
- nixos 26.05: multipath-tools 0.14.1
- nixpkgs unstable: multipath-tools 0.14.3
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libdmmp-devel 0.12.4+278+suse.9cf9c5c-160000.1.1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms