public void GetLoggerLogLevel_Test(string expectedLoggerLogLevel, string loggerName) { try { string resultLoggerLogLevel = LogIF.GetLoggerLogLevel(loggerName); Assert.AreEqual(resultLoggerLogLevel, expectedLoggerLogLevel); } catch (Exception ex) { // Print a stack trace when an exception occurs. Console.WriteLine(ex.StackTrace); throw; } }