DOKK / manpages / debian 12 / libloc-dev / loc_get_log_priority.3.en
LOC_GET_LOG_PRIORITY(3)   LOC_GET_LOG_PRIORITY(3)

loc_get_log_priority - Fetches the log level of a libloc context

#include <libloc/libloc.h>

int loc_get_log_priority(struct loc_ctx* ctx);

Returns the log priority of the given context.

The returned integer is a valid syslog log level as defined in syslog(3).

The default value is LOG_ERR.

libloc(3)

Michael Tremer