NET Logging Library
ThreadNameFilter Property (BaseTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > BaseTarget Class : ThreadNameFilter 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.
Syntax
Public Overridable Property ThreadNameFilter As String
Dim instance As BaseTarget
Dim value As String
 
instance.ThreadNameFilter = value
 
value = instance.ThreadNameFilter
public virtual string ThreadNameFilter {get; set;}
public:
virtual property String^ ThreadNameFilter {
   String^ get();
   void set (    String^ value);
}
Example
Thread1,Thread2,Test*
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

BaseTarget Class
BaseTarget Members