public class CustomPatternLayout : PatternLayout| CustomPatternLayout | Initializes a new instance of CustomPatternLayout and registers the filename converter |
| ContentType |
The content type output by this layout.
(继承自 LayoutSkeleton。) |
| ConversionPattern |
Gets or sets the pattern formatting string.
(继承自 PatternLayout。) |
| Footer |
The footer for the layout format.
(继承自 LayoutSkeleton。) |
| Header |
The header for the layout format.
(继承自 LayoutSkeleton。) |
| IgnoresException |
Flag indicating if this layout handles exceptions.
(继承自 LayoutSkeleton。) |
| ActivateOptions |
Initializes layout options.
(继承自 PatternLayout。) |
| AddConverter(ConverterInfo) |
Add a converter to this PatternLayout
(继承自 PatternLayout。) |
| AddConverter(String, Type) |
Adds a named pattern converter to this PatternLayout.
(继承自 PatternLayout。) |
| CreatePatternParser |
Create the pattern parser instance
(继承自 PatternLayout。) |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| Format(LoggingEvent) |
Convenience method for easily formatting the logging event into a string variable.
(继承自 LayoutSkeleton。) |
| Format(TextWriter, LoggingEvent) |
Produces a formatted string as specified by the conversion pattern.
(继承自 PatternLayout。) |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| ToString | Returns a string that represents the current object. (继承自 Object。) |