Checking Logging Level

Topics: Logging Application Block
Jan 12, 2009 at 5:18 PM
Is there a way to check to see if the Debug logging level is enabled?  I know with log4net, there is a boolean check called IsDebugEnabled.  Is there something similar for the Logging App Block?  Any ideas how to go about this?

Thanks.
Jan 13, 2009 at 2:13 AM
There is only a LogEnabled filter in LAB.   You can check this during runtime through the Logger.IsLoggingEnabled property.

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@avanade.com