LogEntry<TState>
Holds the information for a single log entry.
Gets the log category.
Gets the log event ID.
Gets the log exception.
Gets the formatter.
Gets the log level.
Gets the state.
public LogEntry(LogLevel logLevel, string category, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Initializes an instance of the LogEntry struct.