LOC_SET_LOG_PRIORITY(3)
β¨ LOC_SET_LOG_PRIORITY(3) β the libloc manual, bestie β¨
okay so this is the LOC_SET_LOG_PRIORITY(3) page from the libloc manual, and itβs lowkey tiny but highkey useful. no cap, weβre about to make your logging-vibes make sense π
πΈ NAME πΈ
loc_set_log_priority β sets the log level of a libloc context π
π¦ SYNOPSIS π¦
#include <libloc/libloc.h>
void loc_set_log_priority(struct loc_ctx* ctx, int priority)
β¨ DESCRIPTION β¨
So basically: this function sets the log priority of the given context. thatβs the whole main-character job. if you want more deets, go peek at loc_get_log_priority(3) β itβs giving βread the other page for the full loreβ π
π SEE ALSO π
libloc(3)link:loc_set_log_fn(3)
π AUTHORS π
- Michael Tremer
and thatβs the page, bestie π«Ά the footer/source line is literally LOC_SET_LOG_PRIORITY(3) β no extra date or version gossip here, just iconic minimalism πβ¨
π¦ where this page comes from
- ubuntu stonking: libloc-dev 0.9.19-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms