LayoutSkeleton Format Method (LoggingEvent)Apache log4net™ SDK Documentation
Convenience method for easily formatting the logging event into a string variable.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public string Format(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.Core LoggingEvent

[Missing <param name="loggingEvent"/> documentation for "M:log4net.Layout.LayoutSkeleton.Format(log4net.Core.LoggingEvent)"]

Return Value

Type: OnlineString

[Missing <returns> documentation for "M:log4net.Layout.LayoutSkeleton.Format(log4net.Core.LoggingEvent)"]

Remarks

Creates a new StringWriter instance to store the formatted logging event.
See Also