PatternLayout MethodsApache log4net™ SDK Documentation

The PatternLayout type exposes the following members.


Public methodActivateOptions
Initialize layout options
(Overrides LayoutSkeletonActivateOptions.)
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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
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 LayoutSkeletonFormat(TextWriter, LoggingEvent).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
See Also