Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

EventLogAppender.Category Property

Gets or sets the Category to use unless one is explicitly specified via the LoggingEvent's properties.

[Visual�Basic]
Public�Property�Category�As�Short
[C#]
public�short�Category�{get;�set;}

Remarks

The Category of the event log entry will normally be set using the Category property (Properties) on the LoggingEvent. This property provides the fallback value which defaults to 0.

See Also

EventLogAppender Class | log4net.Appender Namespace