LogEntry<TState> Struktur

Definition

Enthält die Informationen für einen einzelnen Protokolleintrag.

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

Typparameter

TState
Vererbung
LogEntry<TState>

Konstruktoren

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

Initialisiert eine Instanz der LogEntry-Struktur.

Eigenschaften

Name Beschreibung
Category

Ruft die Protokollkategorie ab.

EventId

Ruft die Protokollereignis-ID ab.

Exception

Ruft die Protokoll-Ausnahme ab.

Formatter

Ruft den Formatierer ab.

LogLevel

Ruft die Protokollebene ab.

State

Ruft den Zustand ab.

Gilt für: