Microsoft.Extensions.Logging.Abstractions.LogEntry<TState>
Holds the information for a single log entry.
namespace Microsoft.Extensions.Logging.Abstractions
{
public readonly struct LogEntry<[System.Runtime.CompilerServices.Nullable(2)] TState>
{
public LogLevel LogLevel { get; }
public string Category { get; }
public EventId EventId { get; }
public TState State { get; }
public Exception Exception { get; }
public Func<TState, Exception, string> Formatter { get; }
public LogEntry(LogLevel logLevel, string category, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter);
}
}