syslog.h File Reference

#include "ptlib/udpsock.h"

Go to the source code of this file.

Classes

class  PSystemLog
class  PSystemLogTarget
class  PSystemLogToNowhere
class  PSystemLogToStderr
class  PSystemLogToFile
class  PSystemLogToNetwork
class  PSystemLogToSyslog

Defines

#define PSYSTEMLOG(level, variables)


Define Documentation

#define PSYSTEMLOG ( level,
variables   ) 

Value:

if (PSystemLog::GetTarget().GetThresholdLevel() >= PSystemLog::level) { \
    PSystemLog P_systemlog(PSystemLog::level); \
    P_systemlog << variables; \
  } else (void)0
Log a message to the system log. The current log level is checked and if allowed, the second argument is evaluated as a stream output sequence which is them output to the system log.


Generated on Mon Aug 3 20:41:52 2009 for PTLib by  doxygen 1.5.1