|
PWLib 1.10.10
|
#include "unix/ptlib/svcproc.h"Go to the source code of this file.
Classes | |
| class | PSystemLog |
| class | PServiceProcess |
Defines | |
| #define | PSYSTEMLOG(level, variables) |
| #define PSYSTEMLOG | ( | level, | |
| variables | |||
| ) |
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.
1.7.4