Leadtools.Jpip.Logging Namespace > EventLogger Class : LogEvent Method |
public static void LogEvent( string serverName, string serverIPAddress, string serverPort, string clientIPAddress, string clientPort, DateTime dateTime, EventLogEntryEventType eventType, string channelID, string description )
'Declaration Public Shared Sub LogEvent( _ ByVal serverName As String, _ ByVal serverIPAddress As String, _ ByVal serverPort As String, _ ByVal clientIPAddress As String, _ ByVal clientPort As String, _ ByVal dateTime As Date, _ ByVal eventType As EventLogEntryEventType, _ ByVal channelID As String, _ ByVal description As String _ )
'Usage Dim serverName As String Dim serverIPAddress As String Dim serverPort As String Dim clientIPAddress As String Dim clientPort As String Dim dateTime As Date Dim eventType As EventLogEntryEventType Dim channelID As String Dim description As String EventLogger.LogEvent(serverName, serverIPAddress, serverPort, clientIPAddress, clientPort, dateTime, eventType, channelID, description)
public static void LogEvent( string serverName, string serverIPAddress, string serverPort, string clientIPAddress, string clientPort, DateTime dateTime, EventLogEntryEventType eventType, string channelID, string description )
function Leadtools.Jpip.Logging.EventLogger.LogEvent( serverName , serverIPAddress , serverPort , clientIPAddress , clientPort , dateTime , eventType , channelID , description )
public: static void LogEvent( String^ serverName, String^ serverIPAddress, String^ serverPort, String^ clientIPAddress, String^ clientPort, DateTime dateTime, EventLogEntryEventType eventType, String^ channelID, String^ description )
Calling this method will cause the Leadtools.Jpip.Logging.EventLogger.EventLog event to be raised.
Any registered ILogginChannel will be notified for the event log by calling the ILogginChannel.WriteLog method
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2