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 (26.2.0.1000)
Syntax
bool IsChannelLogged(
	string channel,
	LogLevel level
)

Parameters

channel  String
The channel.
level  LogLevel
The level.

Return Value

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