Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

XmlLayoutSchemaLog4j Members

XmlLayoutSchemaLog4j overview

Public Instance Constructors

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

Public Instance Properties

ContentType (inherited from XmlLayoutBase) Gets the content type output by this layout.
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
InvalidCharReplacement (inherited from XmlLayoutBase) The string to replace characters that can not be expressed in XML with.

Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values.

LocationInfo (inherited from XmlLayoutBase) Gets a value indicating whether to include location information in the XML events.
Version The version of the log4j schema to use.

Public Instance Methods

ActivateOptions (inherited from XmlLayoutBase) Initialize layout options
Equals (inherited from Object)
Format (inherited from XmlLayoutBase)Overloaded. Produces a formatted string.
Format (inherited from LayoutSkeleton)Overloaded. Implement this method to create your own layout format.
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Methods

Finalize (inherited from Object)
FormatXml Actually do the writing of the xml
MemberwiseClone (inherited from Object)

See Also

XmlLayoutSchemaLog4j Class | log4net.Layout Namespace