Пример #1
0
        public void GetRootLoggerLogLevel_Test(string expectedRootLoggerLogLevel, string loggerName)
        {
            try
            {
                string resultRootLoggerLogLevel = LogIF.GetRootLoggerLogLevel(loggerName);

                Assert.AreEqual(resultRootLoggerLogLevel, expectedRootLoggerLogLevel);
            }
            catch (Exception ex)
            {
                // Print a stack trace when an exception occurs.
                Console.WriteLine(ex.StackTrace);
                throw;
            }
        }