IInMemoryLogger<T> Interface

Represents a generic logger that stores log entries in memory.

public interface IInMemoryLogger<T> : ILogger, ILogger<T>

Type parameters

T
The type whose name is used for the logger category name.
Implements

Properties

NameDescription
LogsGets the collection of log entries captured by this logger.

Logs

Gets the collection of log entries captured by this logger.

InMemoryLogCollection Logs { get; }

Property value

InMemoryLogCollection