public void ConfigureAppender(CrossDomainParentAppender parentAppender, log4net.Core.Level level)
        {
            CrossDomainOutboundAppender outboundAppender = new CrossDomainOutboundAppender(parentAppender);

            outboundAppender.Threshold = level;
            log4net.Config.BasicConfigurator.Configure(outboundAppender);
        }
Exemple #2
0
        public CrossDomainOutboundAppender(CrossDomainParentAppender parentAppender)
        {
            if (parentAppender == null)
            {
                throw new ArgumentNullException("parentAppender", "Parent appender cannot be null.");
            }

            ParentAppender = parentAppender;
        }
        public void ConfigureAppender(CrossDomainParentAppender parentAppender)
        {
            CrossDomainOutboundAppender outboundAppender = new CrossDomainOutboundAppender(parentAppender);

            log4net.Config.BasicConfigurator.Configure(outboundAppender);
        }