Ejemplo n.º 1
0
        public void TestMethod4()
        {
            using (ILoggingOperation op = LogManager.GetLogger("Test4").NormalOperation())
            {
                using (IControlledLogTrace tr = op.TraceStart())
                {
                    Assert.IsTrue(true);
                }
                using (IControlledLogTrace tr = op.TraceStart())
                {
                    Assert.IsTrue(true);
                }

                using (IControlledLogTrace tr = op.TraceStart())
                {
                    Assert.IsTrue(true);
                    throw new Exception("xy");
                }
            }
        }