Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LogLog.InternalDebugging Property

Gets or sets a value indicating whether log4net internal logging is enabled or disabled.

[Visual�Basic]
Public�Shared�Property�InternalDebugging�As�Boolean
[C#]
public�static�bool�InternalDebugging�{get;�set;}

Property Value

true if log4net internal logging is enabled, otherwise false.

Remarks

When set to true, internal debug level logging will be displayed.

This value can be set by setting the application setting log4net.Internal.Debug in the application configuration file.

The default value is false, i.e. debugging is disabled.

Example

The following example enables internal debugging using the application configuration file :

[XML]
<configuration>
    <appSettings>
        <add key="log4net.Internal.Debug" value="true" />
    </appSettings>
</configuration>

See Also

LogLog Class | log4net.Util Namespace