LogEntry<TState> Struct

Definition

Holds the information for a single log entry.

C#
public readonly struct LogEntry<TState>

Type Parameters

TState
Inheritance
LogEntry<TState>

Constructors

Properties

Category

Gets the log category.

EventId

Gets the log event ID.

Exception

Gets the log exception.

Formatter

Gets the formatter.

LogLevel

Gets the log level.

State

Gets the state.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)