Megosztás a következőn keresztül:


MemoryLogger.Dump Method

Definition

Overloads

Dump()

Returns the content of the whole memory buffer as a string enumerable. For example, you can access it as a string list by calling MemoryLogger.Dump().ToList<string>(). It does not block other SDK threads from continuing to log into the buffer.

Dump(TextWriter)

Writes the content of the whole memory buffer to an object that implements System.IO.TextWriter. For example, System.Console.Out (for console output). It does not block other SDK threads from continuing to log into the buffer.

Dump(String)

Writes the content of the whole memory buffer to the specified file. It does not block other SDK threads from continuing to log into the buffer.

Dump()

Returns the content of the whole memory buffer as a string enumerable. For example, you can access it as a string list by calling MemoryLogger.Dump().ToList<string>(). It does not block other SDK threads from continuing to log into the buffer.

public static System.Collections.Generic.IEnumerable<string> Dump ();
static member Dump : unit -> seq<string>
Public Shared Function Dump () As IEnumerable(Of String)

Returns

A string enumerable of the contents of the memory buffer copied into it.

Remarks

This does not reset (clear) the memory buffer.

Applies to

Dump(TextWriter)

Writes the content of the whole memory buffer to an object that implements System.IO.TextWriter. For example, System.Console.Out (for console output). It does not block other SDK threads from continuing to log into the buffer.

public static void Dump (System.IO.TextWriter writer);
static member Dump : System.IO.TextWriter -> unit
Public Shared Sub Dump (writer As TextWriter)

Parameters

writer
TextWriter

TextWriter object to write to.

Remarks

This does not reset (clear) the memory buffer.

Applies to

Dump(String)

Writes the content of the whole memory buffer to the specified file. It does not block other SDK threads from continuing to log into the buffer.

public static void Dump (string filePath);
static member Dump : string -> unit
Public Shared Sub Dump (filePath As String)

Parameters

filePath
String

Path to a log file on local disk.

Remarks

This does not reset (clear) the memory buffer.

Applies to