PatternLayout MembersApache log4net™ SDK Documentation
The PatternLayout type exposes the following members.
Constructors

  NameDescription
Public methodPatternLayout 
Constructs a PatternLayout using the DefaultConversionPattern
Public methodPatternLayout(String)
Constructs a PatternLayout using the supplied conversion pattern
Back to Top
Methods

  NameDescription
Public methodActivateOptions
Initialize layout options
(Overrides LayoutSkeleton ActivateOptions .)
Public methodAddConverter(ConverterInfo)
Add a converter to this PatternLayout
Public methodAddConverter(String, Type)
Add a converter to this PatternLayout
Protected methodCreatePatternParser
Create the pattern parser instance
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFormat(LoggingEvent)
Convenience method for easily formatting the logging event into a string variable.
(Inherited from LayoutSkeleton.)
Public methodFormat(TextWriter, LoggingEvent)
Produces a formatted string as specified by the conversion pattern.
(Overrides LayoutSkeleton Format(TextWriter, LoggingEvent).)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberDefaultConversionPattern
Default pattern string for log output.
Public fieldStatic memberDetailConversionPattern
A detailed conversion pattern
Back to Top
Properties

  NameDescription
Public propertyContentType
The content type output by this layout.
(Inherited from LayoutSkeleton.)
Public propertyConversionPattern
The pattern formatting string
Public propertyFooter
The footer for the layout format.
(Inherited from LayoutSkeleton.)
Public propertyHeader
The header for the layout format.
(Inherited from LayoutSkeleton.)
Public propertyIgnoresException
Flag indicating if this layout handles exceptions
(Inherited from LayoutSkeleton.)
Back to Top
See Also