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>) |
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 |
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: ao longo de 2024, vamos eliminar problemas do GitHub como o mecanismo de comentários para conteúdo e substituí-lo por um novo sistema de comentários. Para obter mais informações, consulte:Enviar e exibir comentários de