log4net SDK Reference |

# PatternConverter.Convert Method

Evaluate this pattern converter and write the output to a writer.

[Visual Basic]
MustOverride Protected Sub Convert( _
ByVal writer As TextWriter, _
ByVal state As Object _
)
[C#]
protected abstract void Convert(
TextWriter writer,
object state
);

#### Parameters

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

#### Remarks

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

#### See Also

PatternConverter Class | log4net.Util Namespace