LEADTOOLS (Leadtools.Logging assembly)
LEAD Technologies, Inc

CanLog Method (EventLogFilter)






The ILogEntry that is to be logged.
Determines if the ILogEntry can be logged.
Syntax
public bool CanLog( 
   ILogEntry logEntry
)
'Declaration
 
Public Function CanLog( _
   ByVal logEntry As ILogEntry _
) As Boolean
'Usage
 
Dim instance As EventLogFilter
Dim logEntry As ILogEntry
Dim value As Boolean
 
value = instance.CanLog(logEntry)
public bool CanLog( 
   ILogEntry logEntry
)
 function Leadtools.Logging.EventLogFilter.CanLog( 
   logEntry 
)
public:
bool CanLog( 
   ILogEntry^ logEntry
) 

Parameters

logEntry
The ILogEntry that is to be logged.

Return Value

true if the ILogEntry can be logged; false otherwise
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

EventLogFilter Class
EventLogFilter Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features