NET Logging Library
BaseTarget Class Members
Properties  Methods 


KellermanSoftware.NetLoggingLibrary.Targets Namespace : BaseTarget Class

The following tables list the members exposed by BaseTarget.

Public Properties
 NameDescription
Public Property Used internally for performance. Returns true if there is any filter defined for this target.  
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.  
Public Property When a logging target is wrapped by a BufferedWrapper, this is how often messages are committed  
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.  
Public PropertyThe date format for the LogTime variable.
See the Date Format topic in the Basic Tasks Section of the Help File  
Public Property The number of messages that have been logged for this logger  
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.  
Public PropertyWhat to output in the log.
See the Message Format topic in the Basic Tasks Section of the Help File  
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.  
Public Property The minimum logging level to log a message  
Public Property Defines which mode to use for the target; Synchronous, Buffered, or Asynchronous. The default is Synchronous.  
Public Property The name of the logger  
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.  
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.  
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.  
Top
Public Methods
 NameDescription
Public Method Reset the log count  
Public MethodOverloaded.  Clear asynchronous queue and close connections  
Public Method Wait to write out buffered and asynchronous targets  
Public Method Format a message with all selected options for the target  
Public Method Log a message to the target  
Top
Protected Methods
 NameDescription
Protected Method Post processing of formatting a message for each field  
Top
See Also

Reference

BaseTarget Class
KellermanSoftware.NetLoggingLibrary.Targets Namespace