libnvme_set_logging_level(9)
π libnvme_set_logging_level(9) π
okay so bestie, welcome to the libnvme API manual β¨ this little page is all about libnvme_set_logging_level, and honestly? it's a short one. a snack. a little bite-sized icon. let's get into it π
β¨ NAME β¨
libnvme_set_logging_level β set current logging level π
like, that's the whole job. it sets the current logging level. she's focused, she's employed, she's not doing side quests π
πΈ SYNOPSIS πΈ
void libnvme_set_logging_level (struct libnvme_global_ctx *ctx , int
log_level , bool log_pid , bool log_tstamp );
no cap, that's the exact signature β copy it character for character or the compiler will simply not hear you π also she's void, so don't go looking for a return value, she gives you nothing back and that's her vibe π«Ά
π¦ ARGUMENTS π¦
ctxβ astruct libnvme_global_ctxobject. the main character context, fr fr πlog_levelβ the logging level to set. this is the whole point of the function, bestie π―log_pidβ a boolean to enable logging of the PID π₯ flip it on if you want the PID showing up in your logs πlog_tstampβ a boolean to enable logging of the timestamp β flip it on if you want timestamps in your logs, which, honestly, you probably do π
lowkey important:log_pidandlog_tstampare booleans, so treat them like on/off switches, not little number dials π
π DESCRIPTION π
sets the current logging level for the global context. that's it. that's the description. she said what she said and she said it once π€
so like β you hand her the global context via ctx, you tell her which log_level you want, and you optionally let her know whether to log the PID and the timestamp. done. iconic behaviour, no notes π
and that's the whole page, bestie!! short and sweet, exactly like the original πΈ this has been libnvme_set_logging_level from the libnvme API manual, dated October 2026 π go forth and log responsibly π§β¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms