Class LogEntry
Captured provider-agnostic logger event emitted by an ILogger mock configured through FastMoq.
Assembly: FastMoq.Core.dll
Syntax
public sealed record LogEntry : IEquatable<LogEntry>
Constructors
LogEntry(LogLevel, EventId, string, Exception?)
Captured provider-agnostic logger event emitted by an ILogger mock configured through FastMoq.
Declaration
public LogEntry(LogLevel LogLevel, EventId EventId, string Message, Exception? Exception = null)
Parameters
Properties
EventId
Declaration
public EventId EventId { get; init; }
Property Value
Exception
Declaration
public Exception? Exception { get; init; }
Property Value
LogLevel
Declaration
public LogLevel LogLevel { get; init; }
Property Value
Message
Declaration
public string Message { get; init; }
Property Value
Implements
Extension Methods