LoggingSession.AddLoggingChannel LoggingSession.AddLoggingChannel LoggingSession.AddLoggingChannel LoggingSession.AddLoggingChannel LoggingSession.AddLoggingChannel Method

Definition

Overloads

AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel)

Adds a logging channel to the current logging session.

AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel)

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

AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel) AddLoggingChannel(ILoggingChannel)

Adds a logging channel to the current logging session.

public : void AddLoggingChannel(ILoggingChannel loggingChannel)
void AddLoggingChannel(ILoggingChannel loggingChannel) const;
public void AddLoggingChannel(ILoggingChannel loggingChannel)
Public Sub AddLoggingChannel(loggingChannel As ILoggingChannel)
loggingSession.addLoggingChannel(loggingChannel);

Parameters

loggingChannel
ILoggingChannel ILoggingChannel ILoggingChannel

The logging channel to add.

See also

AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel) AddLoggingChannel(ILoggingChannel, LoggingLevel)

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

public : void AddLoggingChannel(ILoggingChannel loggingChannel, LoggingLevel maxLevel)
void AddLoggingChannel(ILoggingChannel loggingChannel, LoggingLevel maxLevel) const;
public void AddLoggingChannel(ILoggingChannel loggingChannel, LoggingLevel maxLevel)
Public Sub AddLoggingChannel(loggingChannel As ILoggingChannel, maxLevel As LoggingLevel)
loggingSession.addLoggingChannel(loggingChannel, maxLevel);

Parameters

loggingChannel
ILoggingChannel ILoggingChannel ILoggingChannel

The logging channel to add.

maxLevel
LoggingLevel LoggingLevel LoggingLevel

The logging level for loggingChannel.

Remarks

You can also use this function to change the level at which a channel is added to a session; to do so, call AddLoggingChannel, using the existing logging channel, but with the updated level.

See also