NET Logging Library
LoadBasedOnWebVsDesktop Method



KellermanSoftware.NetLoggingLibrary Namespace > ConfigurationLogic Class : LoadBasedOnWebVsDesktop Method
Load the configuration based on how the application is being run. If in a WinForm or WPF application the defaults will be FileTarget and ConsoleTarget If in a Web Service there is not default target If in a ASP.NET the default will be ResponseWriteTarget
Syntax
Public Function LoadBasedOnWebVsDesktop() As Configuration
Dim instance As ConfigurationLogic
Dim value As Configuration
 
value = instance.LoadBasedOnWebVsDesktop()
public Configuration LoadBasedOnWebVsDesktop()
public:
Configuration^ LoadBasedOnWebVsDesktop(); 
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

ConfigurationLogic Class
ConfigurationLogic Members