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

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


Detailed Description

Flags for the Pantheios UNIX SysLog Stock Back-end.

These flags are passed as the options parameter to the SysLog API function openlog() during back-end initialisation.


Defines

#define PANTHEIOS_BE_SYSLOG_F_PERROR   (0x00100000)
 Causes the Pantheios UNIX SysLog Stock Back-end to write to the calling process' standard error, in addition to submitting it to SysLog.
#define PANTHEIOS_BE_SYSLOG_F_CONS   (0x00200000)
 Causes the Pantheios UNIX SysLog Stock Back-end to write any message that fails to be submitted to SysLog to the system console.
#define PANTHEIOS_BE_SYSLOG_F_PID   (0x00400000)
 Causes the Pantheios UNIX SysLog Stock Back-end to include the process Id in the statement.
#define PANTHEIOS_BE_SYSLOG_F_NDELAY   (0x00800000)
 Causes the Pantheios UNIX SysLog Stock Back-end to connect to the syslog socket immediately, rather than on the first call to syslog().


Define Documentation

#define PANTHEIOS_BE_SYSLOG_F_CONS   (0x00200000)

Causes the Pantheios UNIX 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_syslog_init_t::options member to contain the SysLog LOG_CONS flag.

#define PANTHEIOS_BE_SYSLOG_F_NDELAY   (0x00800000)

Causes the Pantheios UNIX 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_syslog_init_t::options member to contain the SysLog LOG_NDELAY flag.

#define PANTHEIOS_BE_SYSLOG_F_PERROR   (0x00100000)

Causes the Pantheios UNIX 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_syslog_init_t::options member to contain the SysLog LOG_PERROR flag.

Note:
On operating systems on which this non-standard feature is not available as part of the Syslog API, this will be provided by a distinct call to fprintf(stderr).

#define PANTHEIOS_BE_SYSLOG_F_PID   (0x00400000)

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

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


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