NET Logging Library
MethodNameFilter Property (BaseTarget)



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