The PatternLayout type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
PatternLayout |
Constructs a PatternLayout using the DefaultConversionPattern
| |
PatternLayout(String) |
Constructs a PatternLayout using the supplied conversion pattern
|
Methods
Name | Description | |
---|---|---|
ActivateOptions |
Initialize layout options
(Overrides LayoutSkeleton ActivateOptions .) | |
AddConverter(ConverterInfo) |
Add a converter to this PatternLayout
| |
AddConverter(String, Type) |
Add a converter to this PatternLayout
| |
CreatePatternParser |
Create the pattern parser instance
| |
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(LoggingEvent) |
Convenience method for easily formatting the logging event into a string variable.
(Inherited from LayoutSkeleton.) | |
Format(TextWriter, LoggingEvent) |
Produces a formatted string as specified by the conversion pattern.
(Overrides LayoutSkeleton Format(TextWriter, LoggingEvent).) | |
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.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
DefaultConversionPattern |
Default pattern string for log output.
| |
DetailConversionPattern |
A detailed conversion pattern
|
Properties
Name | Description | |
---|---|---|
ContentType |
The content type output by this layout.
(Inherited from LayoutSkeleton.) | |
ConversionPattern |
The pattern formatting string
| |
Footer |
The footer for the layout format.
(Inherited from LayoutSkeleton.) | |
Header |
The header for the layout format.
(Inherited from LayoutSkeleton.) | |
IgnoresException |
Flag indicating if this layout handles exceptions
(Inherited from LayoutSkeleton.) |
See Also