Udostępnij za pośrednictwem


MemoryLogger Class

Definition

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.

Applies to