log4net SDK Reference

PatternLayout.Format Method 

Produces a formatted string as specified by the conversion pattern.

[Visual Basic]
Overrides Public Sub Format( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
) _
    Implements ILayout.Format
[C#]
public override void Format(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
The TextWriter to write the formatted event to
loggingEvent
the event being logged

Implements

ILayout.Format

Remarks

Parse the LoggingEvent using the patter format specified in the ConversionPattern property.

See Also

PatternLayout Class | log4net.Layout Namespace