NET Logging Library
Targets Property



KellermanSoftware.NetLoggingLibrary Namespace > Configuration Class : Targets Property
A list of logging targets. If no logging targets are defined in the web.config, app.config or a log.config here are the default targets: Winform application or Windows Service - Console and a Log.txt file in the current directory ASP.NET application - Response.Write Web Services or WCF - None
Syntax
Public Property Targets As List(Of BaseTarget)
Dim instance As Configuration
Dim value As List(Of BaseTarget)
 
instance.Targets = value
 
value = instance.Targets
public List<BaseTarget> Targets {get; set;}
public:
property List<BaseTarget^>^ Targets {
   List<BaseTarget^>^ get();
   void set (    List<BaseTarget^>^ value);
}
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

Configuration Class
Configuration Members