LogEntry<TState> Struct

Definition

Holds the information for a single log entry.

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

Type Parameters

TState
Inheritance
LogEntry<TState>

Constructors

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

Creates a new LogEntry<TState> using the specified log level, category, event Id, state, exception and formatter parameters.

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 TState.

Applies to