Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LayoutSkeleton.Format�Method�(LoggingEvent)

Convenience method for easily formatting the logging event into a string variable.

[Visual�Basic]
Overloads�Public�Function�Format( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�String
[C#]
public�string�Format(
���LoggingEventloggingEvent
);

Parameters

loggingEvent

Remarks

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

See Also

LayoutSkeleton Class | log4net.Layout Namespace | LayoutSkeleton.Format Overload List