ILoggingSession.AddLoggingChannel 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.
Surcharges
AddLoggingChannel(ILoggingChannel) |
Ajoute un canal de journalisation à la session de journalisation active. |
AddLoggingChannel(ILoggingChannel, LoggingLevel) |
Ajoute un canal de journalisation avec le niveau de journalisation spécifié à la session de journalisation active. |
AddLoggingChannel(ILoggingChannel)
Ajoute un canal de journalisation à la session de journalisation active.
public:
void AddLoggingChannel(ILoggingChannel ^ loggingChannel);
/// [Windows.Foundation.Metadata.Overload("AddLoggingChannel")]
void AddLoggingChannel(ILoggingChannel const& loggingChannel);
[Windows.Foundation.Metadata.Overload("AddLoggingChannel")]
public void AddLoggingChannel(ILoggingChannel loggingChannel);
function addLoggingChannel(loggingChannel)
Public Sub AddLoggingChannel (loggingChannel As ILoggingChannel)
Paramètres
- loggingChannel
- ILoggingChannel
Canal de journalisation à ajouter.
- Attributs
Voir aussi
S’applique à
AddLoggingChannel(ILoggingChannel, LoggingLevel)
Ajoute un canal de journalisation avec le niveau de journalisation spécifié à la session de journalisation active.
public:
void AddLoggingChannel(ILoggingChannel ^ loggingChannel, LoggingLevel maxLevel);
/// [Windows.Foundation.Metadata.Overload("AddLoggingChannelWithLevel")]
void AddLoggingChannel(ILoggingChannel const& loggingChannel, LoggingLevel const& maxLevel);
[Windows.Foundation.Metadata.Overload("AddLoggingChannelWithLevel")]
public void AddLoggingChannel(ILoggingChannel loggingChannel, LoggingLevel maxLevel);
function addLoggingChannel(loggingChannel, maxLevel)
Public Sub AddLoggingChannel (loggingChannel As ILoggingChannel, maxLevel As LoggingLevel)
Paramètres
- loggingChannel
- ILoggingChannel
Canal de journalisation à ajouter.
- maxLevel
- LoggingLevel
Niveau de journalisation pour loggingChannel.
- Attributs
Voir aussi
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour