<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="11.0.0-preview.4.26230.115" />

Microsoft.Extensions.Logging.Abstractions.LogEntry<TState>

public struct 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); } }