Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

Pantheios Windows syslog Stock Back-end Flags
[Pantheios Windows-SysLog Stock Back-end]


Detailed Description

Flags for the Pantheios Windows-SysLog Stock Back-end.


Defines

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_USE_SYSTEM_TIME   PANTHEIOS_BE_INIT_F_USE_SYSTEM_TIME
 Causes the Pantheios Windows-SysLog Stock Back-end to use system time, rather than local time, from emitted log statements.
#define PANTHEIOS_BE_WINDOWSSYSLOG_F_PERROR   (0x00100000)
 Causes the Pantheios Windows-SysLog Stock Back-end to write to the calling process' standard error, in addition to submitting it to SysLog.
#define PANTHEIOS_BE_WINDOWSSYSLOG_F_CONS   (0x00200000)
 Causes the Pantheios Windows-SysLog Stock Back-end to write any message that fails to be submitted to SysLog to the system console.
#define PANTHEIOS_BE_WINDOWSSYSLOG_F_PID   (0x00400000)
 Causes the Pantheios Windows-SysLog Stock Back-end to include the process Id in the statement.
#define PANTHEIOS_BE_WINDOWSSYSLOG_F_NDELAY   (0x00800000)
 Causes the Pantheios Windows-SysLog Stock Back-end to connect to the syslog socket immediately, rather than on the first call to syslog().


Define Documentation

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_CONS   (0x00200000)

Causes the Pantheios Windows-SysLog Stock Back-end to write any message that fails to be submitted to SysLog to the system console.

Specifying this flag causes the pan_be_WindowsSyslog_init_t::options member to contain the SysLog LOG_CONS flag.

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_NDELAY   (0x00800000)

Causes the Pantheios Windows-SysLog Stock Back-end to connect to the syslog socket immediately, rather than on the first call to syslog().

Specifying this flag causes the pan_be_WindowsSyslog_init_t::options member to contain the SysLog LOG_NDELAY flag.

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_PERROR   (0x00100000)

Causes the Pantheios Windows-SysLog Stock Back-end to write to the calling process' standard error, in addition to submitting it to SysLog.

Specifying this flag causes the pan_be_WindowsSyslog_init_t::options member to contain the SysLog LOG_PERROR flag.

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_PID   (0x00400000)

Causes the Pantheios Windows-SysLog Stock Back-end to include the process Id in the statement.

Specifying this flag causes the pan_be_WindowsSyslog_init_t::options member to contain the SysLog LOG_PID flag.

#define PANTHEIOS_BE_WINDOWSSYSLOG_F_USE_SYSTEM_TIME   PANTHEIOS_BE_INIT_F_USE_SYSTEM_TIME

Causes the Pantheios Windows-SysLog Stock Back-end to use system time, rather than local time, from emitted log statements.


pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo