PatternLayoutConverter ClassApache log4net™ SDK Documentation
Abstract class that provides the formatting functionality that derived classes need.
Inheritance Hierarchy

SystemObject
  log4net.UtilPatternConverter
    log4net.Layout.PatternPatternLayoutConverter
      log4net.Layout.PatternNamedPatternConverter

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

public abstract class PatternLayoutConverter : PatternConverter

The PatternLayoutConverter type exposes the following members.

Constructors

  NameDescription
Protected methodPatternLayoutConverter
Initializes a new instance of the PatternLayoutConverter class.
Top
Properties

  NameDescription
Public propertyFormattingInfo
Gets or sets the formatting info for this converter
(Inherited from PatternConverter.)
Public propertyIgnoresException
Flag indicating if this converter handles the logging event exception
Public propertyNext
Get the next pattern converter in the chain
(Inherited from PatternConverter.)
Public propertyOption
Gets or sets the option value for this converter
(Inherited from PatternConverter.)
Public propertyProperties
(Inherited from PatternConverter.)
Top
Methods

  NameDescription
Protected methodConvert(TextWriter, LoggingEvent)
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
Protected methodConvert(TextWriter, Object)
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
(Overrides PatternConverterConvert(TextWriter, Object).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormat
Write the pattern converter to the writer with appropriate formatting
(Inherited from PatternConverter.)
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetNext
Set the next pattern converter in the chains
(Inherited from PatternConverter.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.
See Also

Reference