loc_get_log_priority(3)

loc_get_log_priority3

Fetches the log level of a libloc context

Usage

#include <libloc/libloc.h>

int loc_get_log_priority(struct loc_ctx* ctx);

Overview

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.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Authors

Michael Tremer

From libloc 0.9.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.