MemoryLogger.Dump Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Dump() |
Returns the log buffer as an IEnumerable<string> |
Dump(TextWriter) |
Writes the contents of the buffer to the specified TextWriter |
Dump(String) |
Dumps the memory log to the specified file. |
Dump()
Returns the log buffer as an IEnumerable<string>
public static System.Collections.Generic.IEnumerable<string> Dump ();
static member Dump : unit -> seq<string>
Public Shared Function Dump () As IEnumerable(Of String)
Returns
The contents of the memory log buffer.
Applies to
Dump(TextWriter)
Writes the contents of the buffer to the specified TextWriter
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
A TextWriter (Such as System.Console) to write to.
Applies to
Dump(String)
Dumps the memory log to the specified file.
public static void Dump (string filePath);
static member Dump : string -> unit
Public Shared Sub Dump (filePath As String)
Parameters
- filePath
- String
file path to dump the log contents to
Applies to
Azure SDK for .NET