syslog

syslog

Functions

void closelog ()
void openlog ()
int setlogmask ()
void syslog ()

Types and Values

#define LOG_DAEMON
#define LOG_EMERG
#define LOG_ALERT
#define LOG_CRIT
#define LOG_ERR
#define LOG_WARNING
#define LOG_NOTICE
#define LOG_INFO
#define LOG_DEBUG
#define LOG_PID
#define LOG_CONS

Description

Functions

closelog ()

void
closelog (void);

openlog ()

void
openlog (const char *ident,
         int logopt,
         int facility);

setlogmask ()

int
setlogmask (int maskpri);

syslog ()

void
syslog (int priority,
        const char *message,
        ...);

Types and Values

LOG_DAEMON

# define LOG_DAEMON		0

LOG_EMERG

# define LOG_EMERG		0

LOG_ALERT

# define LOG_ALERT		0

LOG_CRIT

# define LOG_CRIT		0

LOG_ERR

# define LOG_ERR			0

LOG_WARNING

# define LOG_WARNING		0

LOG_NOTICE

# define LOG_NOTICE		0

LOG_INFO

# define LOG_INFO		0

LOG_DEBUG

# define LOG_DEBUG		0

LOG_PID

# define LOG_PID			0

LOG_CONS

# define LOG_CONS		0