Log Event

Provides logging information.

Syntax

public event OnLogHandler OnLog;

public delegate void OnLogHandler(object sender, MllpclientLogEventArgs e);

public class MllpclientLogEventArgs : EventArgs {
  public int LogLevel { get; }
  public string Message { get; }
  public string LogType { get; }
}
Public Event OnLog As OnLogHandler

Public Delegate Sub OnLogHandler(sender As Object, e As MllpclientLogEventArgs)

Public Class MllpclientLogEventArgs Inherits EventArgs
  Public ReadOnly Property LogLevel As Integer
  Public ReadOnly Property Message As String
  Public ReadOnly Property LogType As String
End Class

Remarks

This event fires when processing messages and provides logging information. The LogLevel configuration setting specifies the level of detail that is logged.

LogType specifies the type of log message. Possible values are:

  • INFO
  • VERBOSE
  • DEBUG

LogMessage is the log message.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 .NET Edition - Version 20.0 [Build 8203]