Tizen RT Libs&Environment  v1.0 D5
syslog.h File Reference

Syslog APIs. More...

#include <tinyara/config.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdbool.h>
Include dependency graph for syslog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG_AUTH   0
 
#define LOG_AUTHPRIV   0
 
#define LOG_CRON   0
 
#define LOG_DAEMON   0
 
#define LOG_FTP   0
 
#define LOG_KERN   0
 
#define LOG_LOCAL0   0
 
#define LOG_LOCAL1   0
 
#define LOG_LOCAL2   0
 
#define LOG_LOCAL3   0
 
#define LOG_LOCAL4   0
 
#define LOG_LOCAL5   0
 
#define LOG_LOCAL6   0
 
#define LOG_LOCAL7   0
 
#define LOG_LPR   0
 
#define LOG_MAIL   0
 
#define LOG_NEWS   0
 
#define LOG_SYSLOG   0
 
#define LOG_USER   0
 
#define LOG_UUCP   0
 
#define LOG_EMERG   0 /* System is unusable */
 
#define LOG_ALERT   1 /* Action must be taken immediately */
 
#define LOG_CRIT   2 /* Critical conditions */
 
#define LOG_ERR   3 /* Error conditions */
 
#define LOG_WARNING   4 /* Warning conditions */
 
#define LOG_NOTICE   5 /* Normal, but significant, condition */
 
#define LOG_INFO   6 /* Informational message */
 
#define LOG_DEBUG   7 /* Debug-level message */
 
#define LOG_MASK(p)   (1 << (p))
 
#define LOG_UPTO(p)   ((1 << (p)) - 1)
 
#define LOG_ALL   0xff
 

Functions

int syslog (int priority, FAR const char *format,...)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
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 been obtained using the stdarg variable argument list macros More...
 
int lowsyslog (int priority, FAR const char *format,...)
 a non-standard, low-level system logging interface. More...
 
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 been obtained using the stdarg variable argument list macros More...
 
int setlogmask (int mask)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 

Detailed Description

Syslog APIs.

Definition in file syslog.h.