16#ifndef ZEPHYR_INCLUDE_POSIX_SYSLOG_H_
17#define ZEPHYR_INCLUDE_POSIX_SYSLOG_H_
66#define LOG_MASK(mask) ((mask) & BIT_MASK(LOG_DEBUG + 1))
87void openlog(
const char *ident,
int logopt,
int facility);
106void syslog(
int priority,
const char *message, ...);
116void vsyslog(
int priority,
const char *format, va_list ap);
void openlog(const char *ident, int logopt, int facility)
Open a connection to the system logger.
void syslog(int priority, const char *message,...)
Write a message to the system logger.
void vsyslog(int priority, const char *format, va_list ap)
Write a message to the system logger (va_list form).
int setlogmask(int maskpri)
Set the log priority mask.
void closelog(void)
Close the connection to the system logger.