Table of Contents

Constructor StringBuilderLogWriter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

StringBuilderLogWriter()

Initializes a new instance of the LogWriter.StringBuilderLogWriter class using an empty StringBuilder instance.

public StringBuilderLogWriter()

Remarks

This constructor creates a new StringBuilder internally to store log messages. Use this constructor when you do not need to provide an existing StringBuilder.

StringBuilderLogWriter(StringBuilder)

Initializes a new instance of the LogWriter.StringBuilderLogWriter class using the specified StringBuilder.

public StringBuilderLogWriter(StringBuilder stringBuilder)

Parameters

stringBuilder StringBuilder

The StringBuilder instance to which log messages will be written. Cannot be null.

Exceptions

ArgumentNullException

Thrown if stringBuilder is null.