DebugAppender Category Property | Apache log4net™ SDK Documentation

Formats the category parameter sent to the Debug method.

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

C#
VB
C++
F#
Copy

    public PatternLayout Category { get; set; }

    Public Property Category As PatternLayout
    	Get
    	Set

    public:
    property PatternLayout^ Category {
    	PatternLayout^ get ();
    	void set (PatternLayout^ value);
    }

    member Category : PatternLayout with get, set

#### Property Value

Type: PatternLayout
Remarks

Defaults to a PatternLayout with %logger as the pattern which will use the logger name of the current LoggingEvent as the category parameter.

See Also

#### Reference

DebugAppender Class
log4net.Appender Namespace