LevelMapping Class | Apache log4net™ SDK Documentation

Manages a mapping from levels to LevelMappingEntry
Inheritance Hierarchy

System
Object
log4net.Util
LevelMapping

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

C#
VB
C++
F#
Copy

    public sealed class LevelMapping : IOptionHandler

    Public NotInheritable Class LevelMapping
    	Implements IOptionHandler

    public ref class LevelMapping sealed : IOptionHandler

    [<SealedAttribute>]
    type LevelMapping =
        class
            interface IOptionHandler
        end

The LevelMapping type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| LevelMapping | Default constructor

Top
Methods

| Name | Description
--- | --- | ---
| ActivateOptions | Initialize options
| Add | Add a LevelMappingEntry to this mapping
| Equals | Determines whether the specified Object is equal to the current Object. (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.)
| Lookup | Lookup the mapping for the specified level
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

Manages an ordered mapping from Level instances to LevelMappingEntry subclasses.

See Also

#### Reference

log4net.Util Namespace