Abstract class that provides the formatting functionality that
derived classes need.
Inheritance Hierarchy
log4net.UtilPatternConverter
log4net.Layout.PatternPatternLayoutConverter
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The PatternConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PatternConverter |
Protected constructor
|
Properties
Name | Description | |
---|---|---|
FormattingInfo |
Gets or sets the formatting info for this converter
| |
Next |
Get the next pattern converter in the chain
| |
Option |
Gets or sets the option value for this converter
| |
Properties |
Methods
Name | Description | |
---|---|---|
Convert |
Evaluate this pattern converter and write the output to a writer.
| |
Equals | (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.) | |
Format |
Write the pattern converter to the writer with appropriate formatting
| |
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.) | |
SetNext |
Set the next pattern converter in the chains
| |
SpacePad |
Fast space padding method.
| |
ToString | (Inherited from Object.) | |
WriteDictionary(TextWriter, ILoggerRepository, IDictionary) |
Write an dictionary to a TextWriter | |
WriteDictionary(TextWriter, ILoggerRepository, IDictionaryEnumerator) |
Write an dictionary to a TextWriter | |
WriteObject |
Write an object to a TextWriter |
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