PatternString Format Method (TextWriter) | Apache log4net™ SDK Documentation

Produces a formatted string as specified by the conversion pattern.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public void Format(
    	TextWriter writer
    )

    Public Sub Format (
    	writer As TextWriter
    )

    public:
    void Format(
    	TextWriter^ writer
    )

    member Format :
            writer : TextWriter -> unit

#### Parameters

writer
  Type: System.IO
  TextWriter
  The TextWriter to write the formatted event to

Remarks

Format the pattern to the writer.

See Also

#### Reference

PatternString Class
Format Overload
log4net.Util Namespace