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 specfied 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. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET