Class
StringTraceWriter

Trace writer that writes all trace messages to a string.

Definition

Namespace:Telerik.Diagnostics.Pivot

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable", Justification = "Will fix soon.")]
public class StringTraceWriter : IPivotTraceWriter

Inheritance: objectStringTraceWriter

Implements: IPivotTraceWriter

Constructors

StringTraceWriter()

Initializes a new instance of the StringTraceWriter class.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.IO.StringWriter.#ctor", Justification = "Will fix soon.")]
public StringTraceWriter()

Methods

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()

WriteLine(string)

Writes a trace text.

Declaration

cs-api-definition
public void WriteLine(string text)

Parameters

text

string

The text.

Implements IPivotTraceWriter.WriteLine(string)