clogger · Section 3
clog_get_facility
NAME
clog_get_facility - return the current syslog facility
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/clogger.h> clog_syslog_facility clog_get_facility(clog logger);
DESCRIPTION
Returns the syslog facility that the shared backing store holds at the moment of the call.
PARAMETERS
logger Logger handle.
RETURN VALUE
The current facility code.
NOTES
Thread-safe, because the mutex of the shared backing store protects the call. Asserts when logger is CLOG_NULL, stale or already closed.