63 #ifndef __INCLUDE_SYSLOG_H 64 #define __INCLUDE_SYSLOG_H 70 #include <tinyara/config.h> 118 #define LOG_AUTHPRIV 0 146 #define LOG_WARNING 4 153 #define LOG_MASK(p) (1 << (p)) 154 #define LOG_UPTO(p) ((1 << (p)) - 1) 169 #if defined(__cplusplus) 174 void openlog(FAR
const char *ident,
int option,
int facility);
201 int syslog(
int priority, FAR
const char *format, ...);
213 int vsyslog(
int priority, FAR
const char *src, va_list ap);
241 #ifdef CONFIG_ARCH_LOWPUTC 251 int lowsyslog(
int priority, FAR
const char *format, ...);
263 int lowvsyslog(
int priority, FAR
const char *format, va_list ap);
267 #ifdef CONFIG_CPP_HAVE_VARARGS 268 #define lowsyslog(p, f, ...) syslog(p, f, ##__VA_ARGS__) 270 #define lowsyslog (void) 272 #define lowvsyslog(p, f, a) vsyslog(p, f, a) 309 #if defined(__cplusplus) int lowvsyslog(int priority, FAR const char *format, va_list ap)
performs the same task as lowsyslog() with the difference that it takes a set of arguments which have...
int setlogmask(int mask)
set the log priority mask
int vsyslog(int priority, FAR const char *src, va_list ap)
performs the same task as syslog() with the difference that it takes a set of arguments which have be...
int syslog(int priority, FAR const char *format,...)
control system log
int lowsyslog(int priority, FAR const char *format,...)
a non-standard, low-level system logging interface.