PatternParser Class
PatternParser ClassApache log4net™ SDK Documentation
Most of the work of the PatternLayout class is delegated to the PatternParser class.
Inheritance Hierarchy

SystemObject
  log4net.UtilPatternParser

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

public sealed class PatternParser

The PatternParser type exposes the following members.

Constructors

  NameDescription
Public methodPatternParser
Constructor
Top
Properties

  NameDescription
Public propertyPatternConverters
Get the converter registry used by this parser
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodParse
Parses the pattern into a chain of pattern converters.
Public methodToString
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