LogEntry<TState> Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Holds the information for a single log entry.
generic <typename TState>
public value class LogEntry
public readonly struct LogEntry<TState>
type LogEntry<'State> = struct
Public Structure LogEntry(Of TState)
Type Parameters
- TState
- Inheritance
Constructors
LogEntry<TState>(LogLevel, String, EventId, TState, Exception, Func<TState,Exception,String>) |
Initializes an instance of the LogEntry struct. |
Properties
Category |
Gets the log category |
EventId |
Gets the log EventId |
Exception |
Gets the log exception |
Formatter |
Gets the formatter |
LogLevel |
Gets the LogLevel |
State |
Gets the TState |
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.