public void Init()
        {
            _mockLogClient = new MockLogClient();
            Hierarchy hierarchy = (Hierarchy)LogManager.GetRepository();

            _appender = new StackifyAppender { CreateLogClient = (s, s1) => _mockLogClient, threadContextKeys = "TestThreadContext", logicalThreadContextKeys = "TestLogicalThreadContext" };
            _appender.ActivateOptions();
            hierarchy.Root.AddAppender(_appender);

            hierarchy.Root.Level = Level.Info;
            hierarchy.Configured = true;
            Console.WriteLine("Setup Log4Net");
        }
        public void Init()
        {
            _mockLogClient = new MockLogClient();
            Hierarchy hierarchy = (Hierarchy)LogManager.GetRepository();

            _appender = new StackifyAppender {
                CreateLogClient = (s, s1) => _mockLogClient, threadContextKeys = "TestThreadContext", logicalThreadContextKeys = "TestLogicalThreadContext"
            };
            _appender.ActivateOptions();
            hierarchy.Root.AddAppender(_appender);

            hierarchy.Root.Level = Level.Info;
            hierarchy.Configured = true;
            Console.WriteLine("Setup Log4Net");
        }