LEADTOOLS JPEG 2000 (Leadtools.Jpip.Server assembly)
LEAD Technologies, Inc

LogEvent Method






The name of the server generating the event log.
The server IP address generating the event log.
The server port number generating the event log.
The client IP address.
The client port number.
The date and time of the event log.
One of the EventLogEntryEventType values.
The client channel id.
The string to write to the event log.
Writes a new event log.
Syntax
'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)
 function Leadtools.Jpip.Logging.EventLogger.LogEvent( 
   serverName ,
   serverIPAddress ,
   serverPort ,
   clientIPAddress ,
   clientPort ,
   dateTime ,
   eventType ,
   channelID ,
   description 
)

Parameters

serverName
The name of the server generating the event log.
serverIPAddress
The server IP address generating the event log.
serverPort
The server port number generating the event log.
clientIPAddress
The client IP address.
clientPort
The client port number.
dateTime
The date and time of the event log.
eventType
One of the EventLogEntryEventType values.
channelID
The client channel id.
description
The string to write to the event log.
Remarks

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

Example
For an example, refer to Leadtools.Jpip.Server.JpipServer.
Requirements

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

See Also

Reference

EventLogger Class
EventLogger Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Server requires a Document or Medical license and unlock key as well as a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features