Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

EMDATA Struct Reference
[Error Manager]

Strukt for handling each msg. More...

#include <errmanager.h>


Data Fields

int logLevel
 Store loglevel.
int logType
 Store type of logging.
void(* errCallBack )(void *ctxt, char *pFile, char *pFunc, int iLine, int level, char *fmt)
 Callback function that will be called, if logtype is EM_TYPE_CALLBACK.
void * ctxt
 Context pointer.
char * filename
 Filename to log to, if logtype is EM_TYPE_FILE.


Detailed Description

Strukt for handling each msg.

Definition at line 84 of file errmanager.h.


Field Documentation

void(* EMDATA::errCallBack)(void *ctxt, char *pFile, char *pFunc, int iLine, int level, char *fmt)
 

Callback function that will be called, if logtype is EM_TYPE_CALLBACK.

Parameters:
ctxt Context pointer
pFile Filename to log to, if logtype is EM_TYPE_FILE
pFunc Function name, where the message is generated
iLine Line number, where the message is generated
level Minimum loglevel that will be logged
fmt Format string of message

Referenced by emInit(), and emManager().


The documentation for this struct was generated from the following file:
Generated on Wed Mar 30 13:43:27 2005 for Mntd by  doxygen 1.3.9.1