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

Pantheios Windows EventLog Stock Back-end
[Pantheios Stock Back-ends]


Detailed Description

Back-end library that writes to the Windows event log.


Functions

void pantheios_be_WindowsEventLog_calcCategoryAndEventId (int backEndId, int severity, pantheios::uint16_t *category, pantheios::uint32_t *eventId)
 Evaluates the appropriate category and event identifiers for a given back-end identifier and Pantheios severity level.
int pantheios_be_WindowsEventLog_init (PAN_CHAR_T const *processIdentity, int id, void *unused, void *reserved, void **ptoken)
 Implements the functionality for pantheios_be_init() over the Windows EventLog API.
void pantheios_be_WindowsEventLog_uninit (void *token)
 Implements the functionality for pantheios_be_uninit() over the Windows EventLog API.
int pantheios_be_WindowsEventLog_logEntry (void *feToken, void *beToken, int severity, PAN_CHAR_T const *entry, size_t cchEntry)
 Implements the functionality for pantheios_be_logEntry() over the Windows EventLog API.


Function Documentation

void pantheios_be_WindowsEventLog_calcCategoryAndEventId ( int  backEndId,
int  severity,
pantheios::uint16_t category,
pantheios::uint32_t eventId 
)

Evaluates the appropriate category and event identifiers for a given back-end identifier and Pantheios severity level.

Note:
This is an application-specified function.

int pantheios_be_WindowsEventLog_init ( PAN_CHAR_T const *  processIdentity,
int  id,
void *  unused,
void *  reserved,
void **  ptoken 
)

Implements the functionality for pantheios_be_init() over the Windows EventLog API.

int pantheios_be_WindowsEventLog_logEntry ( void *  feToken,
void *  beToken,
int  severity,
PAN_CHAR_T const *  entry,
size_t  cchEntry 
)

Implements the functionality for pantheios_be_logEntry() over the Windows EventLog API.

void pantheios_be_WindowsEventLog_uninit ( void *  token  ) 

Implements the functionality for pantheios_be_uninit() over the Windows EventLog API.


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