log4net SDK Documentation - Microsoft .NET Framework 4.0

PatternLayoutConverter.Convert Method (TextWriter, LoggingEvent)

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

[Visual Basic]
MustOverride Overloads Protected Sub Convert( _
   ByVal writer As TextWriter, _
   ByVal loggingEvent As LoggingEvent _
)
[C#]
protected abstract void Convert(
   TextWriter writer,
   LoggingEvent loggingEvent
);

Parameters

writer
TextWriter that will receive the formatted result.
loggingEvent
The LoggingEvent on which the pattern converter should be executed.

See Also

PatternLayoutConverter Class | log4net.Layout.Pattern Namespace | PatternLayoutConverter.Convert Overload List