Helper class used to build and configure appender definitions.
コード例 #1
0
        public void Console()
        {
            var called  = false;
            var builder = new AppenderDefinitionBuilder();

            builder.Console(a => called = true);

            Assert.That(called, Is.True);
        }
コード例 #2
0
        public void File()
        {
            var called = false;
            var builder = new AppenderDefinitionBuilder();

            builder.File(a => called = true);

            Assert.That(called, Is.True);
        }