ze-filter  (ze-filter-0.8.0-develop-180218)
zeSyslog.c File Reference
#include <ze-sys.h>
#include <libze.h>
#include <zeSyslog.h>

Go to the source code of this file.

Classes

struct  log_code_T
 

Macros

#define LOGLINELEN   1024
 

Functions

void zeSyslog (int priority, char *format,...)
 
void zeOpenlog (char *ident, int option, int facility) const
 
void zeCloselog ()
 
void zeLog_MessageInfo (int level, char *format,...)
 
void zeLog_MessageWarning (int level, char *format,...)
 
void zeLog_MessageError (int level, char *format,...)
 
void zeLog_MsgDebug (char *funct, int level, char *format,...)
 
void zeLog_MsgInfo (char *funct, int level, char *format,...)
 
void zeLog_MsgNotice (char *funct, int level, char *format,...)
 
void zeLog_MsgWarning (char *funct, int level, char *format,...)
 
void zeLog_MsgError (char *funct, int level, char *format,...)
 
void zeLog_SysWarning (char *funct, int level, char *format,...)
 
void zeLog_SysError (char *funct, int level, char *format,...)
 
char * zeLog_FacilityName (int facility)
 
int zeLog_FacilityValue (char *ps)
 
char * zeLog_PriorityName (int priority)
 
int zeLog_PriorityValue (char *ps)
 
void zeLog_SetFacility (char *ps)
 
void zeLog_SetOutput (bool out_syslog, bool out_stdout)
 
int ze_log_priority (char *ps)
 

Variables

int ze_logLevel = 10
 
int ze_logFacility = LOG_LOCAL5
 
bool ze_logSeverity = FALSE
 

Macro Definition Documentation

◆ LOGLINELEN

#define LOGLINELEN   1024

Definition at line 51 of file zeSyslog.c.

Function Documentation

◆ ze_log_priority()

int ze_log_priority ( char *  ps)

Definition at line 503 of file zeSyslog.c.

◆ zeCloselog()

void zeCloselog ( )

Definition at line 138 of file zeSyslog.c.

◆ zeLog_FacilityName()

char* zeLog_FacilityName ( int  facility)

Definition at line 431 of file zeSyslog.c.

◆ zeLog_FacilityValue()

int zeLog_FacilityValue ( char *  ps)

Definition at line 442 of file zeSyslog.c.

◆ zeLog_MessageError()

void zeLog_MessageError ( int  level,
char *  format,
  ... 
)

Definition at line 186 of file zeSyslog.c.

◆ zeLog_MessageInfo()

void zeLog_MessageInfo ( int  level,
char *  format,
  ... 
)

Definition at line 148 of file zeSyslog.c.

◆ zeLog_MessageWarning()

void zeLog_MessageWarning ( int  level,
char *  format,
  ... 
)

Definition at line 167 of file zeSyslog.c.

◆ zeLog_MsgDebug()

void zeLog_MsgDebug ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 205 of file zeSyslog.c.

◆ zeLog_MsgError()

void zeLog_MsgError ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 285 of file zeSyslog.c.

◆ zeLog_MsgInfo()

void zeLog_MsgInfo ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 225 of file zeSyslog.c.

◆ zeLog_MsgNotice()

void zeLog_MsgNotice ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 245 of file zeSyslog.c.

◆ zeLog_MsgWarning()

void zeLog_MsgWarning ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 265 of file zeSyslog.c.

◆ zeLog_PriorityName()

char* zeLog_PriorityName ( int  priority)

Definition at line 452 of file zeSyslog.c.

◆ zeLog_PriorityValue()

int zeLog_PriorityValue ( char *  ps)

Definition at line 463 of file zeSyslog.c.

◆ zeLog_SetFacility()

void zeLog_SetFacility ( char *  ps)

Definition at line 475 of file zeSyslog.c.

◆ zeLog_SetOutput()

void zeLog_SetOutput ( bool  out_syslog,
bool  out_stdout 
)

Definition at line 490 of file zeSyslog.c.

◆ zeLog_SysError()

void zeLog_SysError ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 327 of file zeSyslog.c.

◆ zeLog_SysWarning()

void zeLog_SysWarning ( char *  funct,
int  level,
char *  format,
  ... 
)

Definition at line 305 of file zeSyslog.c.

◆ zeOpenlog()

void zeOpenlog ( char *  ident,
int  option,
int  facility 
) const

Definition at line 125 of file zeSyslog.c.

◆ zeSyslog()

void zeSyslog ( int  priority,
char *  format,
  ... 
)

Definition at line 54 of file zeSyslog.c.

Variable Documentation

◆ ze_logFacility

int ze_logFacility = LOG_LOCAL5

Definition at line 35 of file zeSyslog.c.

◆ ze_logLevel

int ze_logLevel = 10

Definition at line 34 of file zeSyslog.c.

◆ ze_logSeverity

bool ze_logSeverity = FALSE

Definition at line 36 of file zeSyslog.c.