log4net SDK Reference |

# PatternString.Format Method (TextWriter)

Produces a formatted string as specified by the conversion pattern.

[Visual Basic]
Overloads Public Sub Format( _
ByVal writer As TextWriter _
)
[C#]
public void Format(
TextWriter writer
);

#### Parameters

writer
  The TextWriter to write the formatted event to

#### Remarks

Format the pattern to the writer.

#### See Also

PatternString Class | log4net.Util Namespace | PatternString.Format Overload List