NET Logging Library
EventLogTarget Class Members
Properties  Methods 


KellermanSoftware.NetLoggingLibrary.Targets Namespace : EventLogTarget Class

The following tables list the members exposed by EventLogTarget.

Public Constructors
 NameDescription
Public Constructor Constructor  
Top
Public Properties
 NameDescription
Public Property Used internally for performance. Returns true if there is any filter defined for this target. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific assembly name It is possible to use multiple assemblies delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property When a logging target is wrapped by a BufferedWrapper, this is how often messages are committed (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific class name It is possible to use multiple classes delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public PropertyThe date format for the LogTime variable.
See the Date Format topic in the Basic Tasks Section of the Help File (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The name of the event log. Defaults to: Application  
Public Property The source of the event log. Defaults to: Application  
Public Property The number of messages that have been logged for this logger (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, logging will only occur for the specific machine name It is possible to use multiple machines delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public PropertyWhat to output in the log.
See the Message Format topic in the Basic Tasks Section of the Help File (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific method name It is possible to use multiple methods delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The minimum logging level to log a message (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property Defines which mode to use for the target; Synchronous, Buffered, or Asynchronous. The default is Synchronous. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The name of the logger (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific namespace. It is possible to use multiple namespaces delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, logging will only occur for the thread id or thread name specified It is possible to use multiple thread names delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, logging will only occur for the specific user name It is possible to use multiple users delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Top
Public Methods
 NameDescription
Public MethodOverridden.  Clear the event log. Requires admin rights.  
Public Method Close the connection to the event log  
Public MethodOverloaded.  Clear asynchronous queue and close connections (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Method Wait to write out buffered and asynchronous targets (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Method Format a message with all selected options for the target (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public MethodOverridden.  Log a message to the event log  
Top
Protected Methods
 NameDescription
Protected Method Post processing of formatting a message for each field (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Top
See Also

Reference

EventLogTarget Class
KellermanSoftware.NetLoggingLibrary.Targets Namespace