loc_get_log_priority(3)

Fetches the log level of a libloc context

Section 3 libloc-dev bookworm source

Description

LOC_GET_LOG_PRIORITY

NAME

loc_get_log_priority - Fetches the log level of a libloc context

SYNOPSIS

#include <libloc/libloc.h>

int loc_get_log_priority(struct loc_ctx* ctx);

DESCRIPTION

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.

SEE ALSO

libloc(3)

AUTHORS

Michael Tremer