Triggered when a new message is logged.
[Visual Basic .NET] |
---|
Public Event OnLogMessage( _ ByVal Message As String, _ ByVal MsgType As AgELogMsgType, _ ByVal ErrorCode As Integer, _ ByVal FileName As String, _ ByVal LineNo As Integer, _ ByVal DispID As AgELogMsgDispID _ ) |
[C#] |
---|
public void OnLogMessage( string Message, AgELogMsgType MsgType, int ErrorCode, string FileName, int LineNo, AgELogMsgDispID DispID ); |
[Managed C++] |
---|
public: void OnLogMessage( String __gc ^ Message, AgELogMsgType MsgType, int ErrorCode, String __gc ^ FileName, int LineNo, AgELogMsgDispID DispID ); |
[Java] |
---|
public void onLogMessage( String Message, AgELogMsgType MsgType, int ErrorCode, String FileName, int LineNo, AgELogMsgDispID DispID ); |
[Unmanaged C++] |
---|
public: void OnLogMessage( BSTR Message, AgELogMsgType MsgType, long ErrorCode, BSTR FileName, long LineNo, AgELogMsgDispID DispID ); |
- MessageText of the message.MsgTypeType of the message.ErrorCodeError code associated with the message (for AGI trouble shooting).FileNameFile name associated with the message (for AGI trouble shooting).LineNoLine number associated with the message (for AGI trouble shooting).DispID
Display destination.
You can implement your own logging capabilities using this event. Messages that would normally display in the STK Message Viewer will be sent out using this event.