LogEntry<TState> Struct-datatyp

Definition

Innehåller informationen för en enda loggpost.

generic <typename TState>
public value class LogEntry
public readonly struct LogEntry<TState>
type LogEntry<'State> = struct
Public Structure LogEntry(Of TState)

Typparametrar

TState
Arv
LogEntry<TState>

Konstruktorer

Name Description
LogEntry<TState>(LogLevel, String, EventId, TState, Exception, Func<TState,Exception,String>)

Initierar en instans av LogEntry-structen.

Egenskaper

Name Description
Category

Hämtar loggkategorin.

EventId

Hämtar logghändelsens ID.

Exception

Hämtar loggfelet.

Formatter

Hämtar formaterare.

LogLevel

Hämtar loggnivån.

State

Hämtar tillståndet.

Gäller för