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

Authors

Michael Tremer