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 (char const *processIdentity, void *reserved, void **ptoken)
int pantheios_be_remote_init (char const *processIdentity, void *reserved, void **ptoken)
void pantheios_be_local_uninit (void *token)
void pantheios_be_remote_uninit (void *token)
int pantheios_be_local_logEntry (void *feToken, void *beToken, int severity, char const *entry, size_t cchEntry)
int pantheios_be_remote_logEntry (void *feToken, void *beToken, int severity, char const *entry, size_t cchEntry)


Function Documentation

int pantheios_be_local_init char 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,
char 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 char 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,
char 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, 2006 SourceForge.net Logo