PatternParser Class | Apache log4net™ SDK Documentation

Most of the work of the PatternLayout class is delegated to the PatternParser class.
Inheritance Hierarchy

System
Object
log4net.Util
PatternParser

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 PatternParser

    Public NotInheritable Class PatternParser

    public ref class PatternParser sealed

    [<SealedAttribute>]
    type PatternParser =  class end

The PatternParser type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| PatternParser | Constructor

Top
Properties

| Name | Description
--- | --- | ---
| PatternConverters | Get the converter registry used by this parser

Top
Methods

| Name | Description
--- | --- | ---
| 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.)
| Parse | Parses the pattern into a chain of pattern converters.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

The PatternParser processes a pattern string and returns a chain of PatternConverter objects.

See Also

#### Reference

log4net.Util Namespace