ILoggingServiceIsChannelLogged Method

Indicates whether a channel is logged at a specified level (or a less-detailed level).

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
bool IsChannelLogged(
	string channel,
	LogLevel level
)

Parameters

channel
Type: SystemString
The channel.
level
Type: Dundas.BILogLevel
The level.

Return Value

Type: Boolean
if messages logged to the channel at the specified level will be written to the log (taking the current log filtering configuration into account); otherwise, .
Exceptions
ExceptionCondition
ArgumentExceptionchannel is or empty.
ArgumentOutOfRangeExceptionlevel is not one of the LogLevel values.
See Also