log4net SDK Reference |

# 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.

#### Remarks

Missing <remarks> documentation for M:log4net.Layout.Pattern.PatternLayoutConverter.Convert(System.IO.TextWriter,log4net.Core.LoggingEvent)

#### See Also

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