EventLogAppender Level2EventLogEntryType Class | Apache log4net™ SDK Documentation

A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
Inheritance Hierarchy

System
Object
log4net.Util
LevelMappingEntry
log4net.Appender
EventLogAppender
Level2EventLogEntryType

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

C#
VB
C++
F#
Copy

    public class Level2EventLogEntryType : LevelMappingEntry

    Public Class Level2EventLogEntryType
    	Inherits LevelMappingEntry

    public ref class Level2EventLogEntryType : public LevelMappingEntry

    type Level2EventLogEntryType =
        class
            inherit LevelMappingEntry
        end

The EventLogAppender
Level2EventLogEntryType type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| EventLogAppender Level2EventLogEntryType | Initializes a new instance of the EventLogAppender Level2EventLogEntryType class

Top
Properties

| Name | Description
--- | --- | ---
| EventLogEntryType | The EventLogEntryType for this entry
| Level | The level that is the key for this mapping (Inherited from LevelMappingEntry.)

Top
Methods

| Name | Description
--- | --- | ---
| ActivateOptions | Initialize any options defined on this entry (Inherited from LevelMappingEntry.)
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

Defines the mapping between a level and its event log entry type.

See Also

#### Reference

log4net.Appender Namespace