WarningsConfiguration.GetLevel(EventId) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’ensemble LogLevel de l’ID d’événement donné, ou null si aucun comportement explicite n’a été défini.
public virtual Microsoft.Extensions.Logging.LogLevel? GetLevel(Microsoft.Extensions.Logging.EventId eventId);
abstract member GetLevel : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.Extensions.Logging.LogLevel>
override this.GetLevel : Microsoft.Extensions.Logging.EventId -> Nullable<Microsoft.Extensions.Logging.LogLevel>
Public Overridable Function GetLevel (eventId As EventId) As Nullable(Of LogLevel)
Paramètres
- eventId
- EventId
Retours
Jeu LogLevel pour l’ID d’événement donné.