Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
LayoutSkeleton.Format�Method�(TextWriter, LoggingEvent)
Implement this method to create your own layout format.
[Visual�Basic]
MustOverride�Overloads�Public�Sub�Format( _
���ByVal
writer�As�
TextWriter,�_
���ByVal
loggingEvent�As�
LoggingEvent�_
)�_
Parameters
-
writer
- The TextWriter to write the formatted event to
-
loggingEvent
- The event to format
Implements
ILayout.Format
Remarks
This method is called by an appender to format the loggingEvent as text.
See Also
LayoutSkeleton Class | log4net.Layout Namespace | LayoutSkeleton.Format Overload List