svcproc.h File Reference

#include <ptlib/pprocess.h>
#include "unix/ptlib/svcproc.h"

Go to the source code of this file.

Classes

class  PSystemLog
class  PServiceProcess

Defines

#define PSYSTEMLOG(level, variables)


Define Documentation

#define PSYSTEMLOG ( level,
variables   ) 

Value:

if (PServiceProcess::Current().GetLogLevel() >= 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 Sep 15 01:21:35 2008 for PTLib by  doxygen 1.5.1