NET Logging Library
CreateConfigurationElement Method



KellermanSoftware.NetLoggingLibrary Namespace > AppConfigLogic Class : CreateConfigurationElement Method
The section to create the target in
The target logger
Create a configuration element for a target in the specified section
Syntax
Public Shared Sub CreateConfigurationElement( _
   ByVal section As LoggingTargetConfigurationSection, _
   ByVal target As BaseTarget _
) 
Dim section As LoggingTargetConfigurationSection
Dim target As BaseTarget
 
AppConfigLogic.CreateConfigurationElement(section, target)
public static void CreateConfigurationElement( 
   LoggingTargetConfigurationSection section,
   BaseTarget target
)
public:
static void CreateConfigurationElement( 
   LoggingTargetConfigurationSection^ section,
   BaseTarget^ target
) 

Parameters

section
The section to create the target in
target
The target logger
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

AppConfigLogic Class
AppConfigLogic Members