MemoryLogger Class
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.
Represents an in-memory buffer of SDK trace messages
public static class MemoryLogger
type MemoryLogger = class
Public Class MemoryLogger
- Inheritance
-
MemoryLogger
Methods
Dump() |
Returns the log buffer as an IEnumerable<string> |
Dump(String) |
Dumps the memory log to the specified file. |
Dump(TextWriter) |
Writes the contents of the buffer to the specified TextWriter |
SetLevel(Level) |
Sets the level of the messages to be captured by the logger |
Start() |
Starts the internal buffer. |
Stop() |
Stops the internal buffer. |