Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
#include <stdarg.h>
Go to the source code of this file.
Macros | |
#define | LOG_PID 1 |
#define | LOG_CONS 2 |
#define | LOG_NDELAY 4 |
#define | LOG_ODELAY 8 |
#define | LOG_NOWAIT 16 |
#define | LOG_PERROR 32 |
#define | LOG_KERN 0 |
#define | LOG_USER 1 |
#define | LOG_MAIL 2 |
#define | LOG_NEWS 3 |
#define | LOG_UUCP 4 |
#define | LOG_DAEMON 5 |
#define | LOG_AUTH 6 |
#define | LOG_CRON 7 |
#define | LOG_LPR 8 |
#define | LOG_LOCAL0 9 |
#define | LOG_LOCAL1 10 |
#define | LOG_LOCAL2 11 |
#define | LOG_LOCAL3 12 |
#define | LOG_LOCAL4 13 |
#define | LOG_LOCAL5 14 |
#define | LOG_LOCAL6 15 |
#define | LOG_LOCAL7 16 |
#define | LOG_EMERG 0 |
#define | LOG_ALERT 1 |
#define | LOG_CRIT 2 |
#define | LOG_ERR 3 |
#define | LOG_WARNING 4 |
#define | LOG_NOTICE 5 |
#define | LOG_INFO 6 |
#define | LOG_DEBUG 7 |
#define | LOG_MASK(mask) ((mask) & BIT_MASK(LOG_DEBUG + 1)) |
Functions | |
void | closelog (void) |
void | openlog (const char *ident, int logopt, int facility) |
int | setlogmask (int maskpri) |
void | syslog (int priority, const char *message,...) |
void | vsyslog (int priority, const char *format, va_list ap) |
#define LOG_ALERT 1 |
#define LOG_AUTH 6 |
#define LOG_CONS 2 |
#define LOG_CRIT 2 |
#define LOG_CRON 7 |
#define LOG_DAEMON 5 |
#define LOG_DEBUG 7 |
#define LOG_EMERG 0 |
#define LOG_ERR 3 |
#define LOG_INFO 6 |
#define LOG_KERN 0 |
#define LOG_LOCAL0 9 |
#define LOG_LOCAL1 10 |
#define LOG_LOCAL2 11 |
#define LOG_LOCAL3 12 |
#define LOG_LOCAL4 13 |
#define LOG_LOCAL5 14 |
#define LOG_LOCAL6 15 |
#define LOG_LOCAL7 16 |
#define LOG_LPR 8 |
#define LOG_MAIL 2 |
#define LOG_NDELAY 4 |
#define LOG_NEWS 3 |
#define LOG_NOTICE 5 |
#define LOG_NOWAIT 16 |
#define LOG_ODELAY 8 |
#define LOG_PERROR 32 |
#define LOG_PID 1 |
#define LOG_USER 1 |
#define LOG_UUCP 4 |
#define LOG_WARNING 4 |
void closelog | ( | void | ) |
void openlog | ( | const char * | ident, |
int | logopt, | ||
int | facility | ||
) |
int setlogmask | ( | int | maskpri | ) |
void syslog | ( | int | priority, |
const char * | message, | ||
... | |||
) |
void vsyslog | ( | int | priority, |
const char * | format, | ||
va_list | ap | ||
) |