Log Event
Provides logging information.
Syntax
ANSI (Cross Platform) virtual int FireLog(MLLPServerLogEventParams *e);
typedef struct {
int ConnectionId;
int LogLevel;
const char *Message;
const char *LogType; int reserved; } MLLPServerLogEventParams; Unicode (Windows) virtual INT FireLog(MLLPServerLogEventParams *e);
typedef struct {
INT ConnectionId;
INT LogLevel;
LPCWSTR Message;
LPCWSTR LogType; INT reserved; } MLLPServerLogEventParams;
- (void)onLog:(int)connectionId :(int)logLevel :(NSString*)message :(NSString*)logType;
#define EID_MLLPSERVER_LOG 8 virtual INT IPWORKSEDI_CALL FireLog(INT &iConnectionId, INT &iLogLevel, LPSTR &lpszMessage, LPSTR &lpszLogType);
Remarks
This event fires when processing messages and provides logging information. The LogLevel configuration setting specifies the level of detail that is logged.
ConnectionId reflects the Id of the connection to which the log message pertains.
LogType specifies the type of log message. Possible values are:
- INFO
- VERBOSE
- DEBUG
LogMessage is the log message.