PatternConverter SpacePad Method | Apache log4net™ SDK Documentation

Fast space padding method.

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

C#
VB
C++
F#
Copy

    protected static void SpacePad(
    	TextWriter writer,
    	int length
    )

    Protected Shared Sub SpacePad (
    	writer As TextWriter,
    	length As Integer
    )

    protected:
    static void SpacePad(
    	TextWriter^ writer,
    	int length
    )

    static member SpacePad :
            writer : TextWriter *
            length : int -> unit

#### Parameters

writer
  Type: System.IO
  TextWriter
  TextWriter to which the spaces will be appended.
length
  Type: System
  Int32
  The number of spaces to be padded.

Remarks

Fast space padding method.

See Also

#### Reference

PatternConverter Class
log4net.Util Namespace