示例#1
0
        public void IsInfoEnabled_Test(bool expectedInfoEnabled, string loggerName)
        {
            try
            {
                bool resultInfoEnabled = LogIF.IsInfoEnabled(loggerName);

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