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

Pantheios Local/Remote Split Back-end
[Pantheios Stock Back-ends]


Detailed Description

Back-end library that splits the emission of log statements, writing to local and/or remote back-ends that are independently filtered.


Functions

int pantheios_be_local_init (PAN_CHAR_T const *processIdentity, void *reserved, void **ptoken)
 Initialises the local back-end API.
int pantheios_be_remote_init (PAN_CHAR_T const *processIdentity, void *reserved, void **ptoken)
 Initialises the remote back-end API.
void pantheios_be_local_uninit (void *token)
 Uninitialises the local back-end API.
void pantheios_be_remote_uninit (void *token)
 Uninitialises the remote back-end API.
int pantheios_be_local_logEntry (void *feToken, void *beToken, int severity, PAN_CHAR_T const *entry, size_t cchEntry)
 Passes a log-entry to the local back-end API.
int pantheios_be_remote_logEntry (void *feToken, void *beToken, int severity, PAN_CHAR_T const *entry, size_t cchEntry)
 Passes a log-entry to the remote back-end API.


Function Documentation

int pantheios_be_local_init ( PAN_CHAR_T const *  processIdentity,
void *  reserved,
void **  ptoken 
)

Initialises the local back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_init(), except it applies to the local backend only

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

Passes a log-entry to the local back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_logEntry(), except it applies to the local backend only

void pantheios_be_local_uninit ( void *  token  ) 

Uninitialises the local back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_uninit(), except it applies to the local backend only

int pantheios_be_remote_init ( PAN_CHAR_T const *  processIdentity,
void *  reserved,
void **  ptoken 
)

Initialises the remote back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_init(), except it applies to the remote backend only

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

Passes a log-entry to the remote back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_logEntry(), except it applies to the remote backend only

void pantheios_be_remote_uninit ( void *  token  ) 

Uninitialises the remote back-end API.

Note:
The semantics of this function, and the constraints on its behaviour, are identical to those of the Pantheios backend library function pantheios_be_uninit(), except it applies to the remote backend only


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