Log Event
Fires with log information during processing.
Syntax
[VB.NET] Public Event OnLog As OnLogHandler
[C#] public event OnLogHandler OnLog; public delegate void OnLogHandler(object sender, As3senderLogEventArgs e); class As3senderLogEventArgs : EventArgs { string LogType {get;} string LogMessage {get;} byte[] LogMessageB {get;} }
Remarks
This event fires during processing with log information. This may be used to obtain the same information that will be written to file if LogDirectory is specified, but without relying on files.
LogMessage holds the raw log data.
LogType indicates the type of log. Possible values are:
"LOG" | Information about the status of the process. |
"ERR" | An error was encountered. |
"DAT" | The EDI payload. |
"REQ" | The raw request |
"MDN" | The MDN response. |
"DEBUG" | Debug information. |
"DAT.INPUT" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.ENCRYPT" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.COMPRESS" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.SIGN" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.DECRYPT" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.DECOMPRESS" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.VERIFY" | Debug information when processing payload. Only applicable when LogDebug is True. |
"DAT.DEBUG" | Debug information when processing payload. Only applicable when LogDebug is True. |