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
| |
| (Inherited from | ||
Allows an (Inherited from | ||
| 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).) | |
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| (Inherited from |
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