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);
199 int syslog(
int priority, FAR
const char *format, ...);
210 int vsyslog(
int priority, FAR
const char *src, va_list ap);
238 #ifdef CONFIG_ARCH_LOWPUTC 247 int lowsyslog(
int priority, FAR
const char *format, ...);
258 int lowvsyslog(
int priority, FAR
const char *format, va_list ap);
262 #ifdef CONFIG_CPP_HAVE_VARARGS 263 #define lowsyslog(p, f, ...) syslog(p, f, ##__VA_ARGS__) 265 #define lowsyslog (void) 267 #define lowvsyslog(p, f, a) vsyslog(p, f, a) 302 #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)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
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,...)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
int lowsyslog(int priority, FAR const char *format,...)
a non-standard, low-level system logging interface.