MemoryLogger class

Logger that writes all messages to memory.

public sealed class MemoryLogger : ILogger

Public Members

name description
MemoryLogger(…) Initializes a new instance of the MemoryLogger class.
Dispose() Releases any resources held by the logger.
override ToString()
Write(…) Writes an informational string to the log. (10 methods)
WriteLine(…) Writes an informational string to the log. (10 methods)

Remarks

This class is thread-safe.

See Also