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

  NameDescription
Public methodXmlLayoutSchemaLog4j 
Constructs an XMLLayoutSchemaLog4j
Public methodXmlLayoutSchemaLog4j(Boolean)
Constructs an XMLLayoutSchemaLog4j.
Back to Top
Methods

  NameDescription
Public methodActivateOptions
Initialize layout options
(Inherited from XmlLayoutBase.)
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.
(Inherited from XmlLayoutBase.)
Protected methodFormatXml
Actually do the writing of the xml
(Overrides XmlLayoutBase FormatXml(XmlWriter, 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
Properties

  NameDescription
Public propertyContentType
Gets the content type output by this layout.
(Inherited from XmlLayoutBase.)
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.)
Public propertyInvalidCharReplacement
The string to replace characters that can not be expressed in XML with.
Remarks

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.

(Inherited from XmlLayoutBase.)
Public propertyLocationInfo
Gets a value indicating whether to include location information in the XML events.
(Inherited from XmlLayoutBase.)
Public propertyVersion
The version of the log4j schema to use.
Back to Top
See Also