Scroll to navigation

LOC_GET_LOG_PRIORITY(3)   LOC_GET_LOG_PRIORITY(3)

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