IFileLoggingSession.AddLoggingChannel Method

Definition

Overloads

AddLoggingChannel(ILoggingChannel)

Adds a logging channel to the current logging session.

AddLoggingChannel(ILoggingChannel, LoggingLevel)

Adds a logging channel with the specified logging level to the current logging session.

AddLoggingChannel(ILoggingChannel)

Adds a logging channel to the current logging session.

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)

Parameters

loggingChannel
ILoggingChannel

The logging channel to add.

Attributes

See also

Applies to

AddLoggingChannel(ILoggingChannel, LoggingLevel)

Adds a logging channel with the specified logging level to the current logging session.

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)

Parameters

loggingChannel
ILoggingChannel

The logging channel to add.

maxLevel
LoggingLevel

The logging level for loggingChannel.

Attributes

See also

Applies to