'\" t
.\" Title: loc_get_log_priority
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 12/02/2022
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "LOC_GET_LOG_PRIORITY" "3" "" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
loc_get_log_priority \- Fetches the log level of a libloc context
.SH "SYNOPSIS"
.sp
.nf
#include
.fi
.sp
int loc_get_log_priority(struct loc_ctx* ctx);
.SH "DESCRIPTION"
.sp
Returns the log priority of the given context\&.
.sp
The returned integer is a valid syslog log level as defined in syslog(3)\&.
.sp
The default value is LOG_ERR\&.
.SH "SEE ALSO"
.sp
\fBlibloc\fR(3)
.SH "AUTHORS"
.sp
Michael Tremer