Example #1
0
 public void IsDebugEnabled_Test(bool expectedDebugEnabled, string loggerName)
 {
     try
     {
         bool resultDebugEnabled = LogIF.IsDebugEnabled(loggerName);
         Assert.AreEqual(resultDebugEnabled, expectedDebugEnabled);
     }
     catch (Exception ex)
     {
         // Print a stack trace when an exception occurs.
         Console.WriteLine(ex.StackTrace);
         throw;
     }
 }