log4net SDK Reference

PatternLayout Members

PatternLayout overview

Public Static (Shared) Fields

DefaultConversionPattern Default pattern string for log output.
DetailConversionPattern A detailed conversion pattern

Public Instance Constructors

PatternLayout Overloaded. Initializes a new instance of the PatternLayout class.

Public Instance Properties

ContentType (inherited from LayoutSkeleton) The content type output by this layout.
ConversionPattern The pattern formatting string
Footer (inherited from LayoutSkeleton) The footer for the layout format.
Header (inherited from LayoutSkeleton) The header for the layout format.
IgnoresException (inherited from LayoutSkeleton) Flag indicating if this layout handles exceptions

Public Instance Methods

ActivateOptions Initialize layout options
AddConverterOverloaded. Add a converter to this PatternLayout
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Format Produces a formatted string as specified by the conversion pattern.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

CreatePatternParser Create the pattern parser instance
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PatternLayout Class | log4net.Layout Namespace