Beispiel #1
0
        public void IsFatalEnabled_Test(bool expectedFatalEnabled, string loggerName)
        {
            try
            {
                bool resultFatalEnabled = LogIF.IsFatalEnabled(loggerName);

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