LogLog InternalDebugging Property | Apache log4net™ SDK Documentation

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

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static bool InternalDebugging { get; set; }

    Public Shared Property InternalDebugging As Boolean
    	Get
    	Set

    public:
    static property bool InternalDebugging {
    	bool get ();
    	void set (bool value);
    }

    static member InternalDebugging : bool with get, set

#### Property Value

Type: Boolean
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.

Examples

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

Copy

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

See Also

#### Reference

LogLog Class
log4net.Util Namespace