Expand description
syslog.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/syslog.h.html.
Modules§
Constants§
- LOG_
ALERT - LOG_
AUTH - LOG_
AUTHPRIV - LOG_
CONS - Write to /dev/console if
syslogfails. - LOG_
CRIT - LOG_
CRON - LOG_
DAEMON - LOG_
DEBUG - LOG_
EMERG - LOG_ERR
- LOG_FTP
- LOG_
INFO - LOG_
KERN - LOG_
LOCA L0 - LOG_
LOCA L1 - LOG_
LOCA L2 - LOG_
LOCA L3 - LOG_
LOCA L4 - LOG_
LOCA L5 - LOG_
LOCA L6 - LOG_
LOCA L7 - LOG_LPR
- LOG_
MAIL - LOG_
NDELAY - Open the log file immediately.
- LOG_
NEWS - LOG_
NFACILITIES - LOG_
NOTICE - LOG_
NOWAIT - LOG_
ODELAY - Open the log on the first call to
syslograther than opening it early. This is the default behavior and setting or unsetting this option does nothing. - LOG_
PERROR - Print log message to stderr as well as the log.
- LOG_PID
- Record the caller’s PID in log messages.
- LOG_
SYSLOG - LOG_
USER - LOG_
UUCP - LOG_
WARNING
Functions§
- LOG_
MASK - Create a mask that enables a single priority.
- LOG_
UPTO - Create a mask that includes all levels up to a certain priority.
- closelog
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/closelog.html.
- openlog⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/closelog.html.
- setlogmask
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/closelog.html.
- syslog⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/closelog.html.
- vsyslog⚠
- See https://www.man7.org/linux/man-pages/man3/vsyslog.3.html.