Пример #1
0
        public TomeltLog4netLogger(log4net.Core.ILogger logger, TomeltLog4netFactory factory)
        {
            TomeltHostContainerRegistry.RegisterShim(this);
            Logger  = logger;
            Factory = factory;

            _shellSettings = new Lazy <ShellSettings>(LoadSettings, System.Threading.LazyThreadSafetyMode.PublicationOnly);
        }
Пример #2
0
 internal TomeltLog4netLogger(ILog log, TomeltLog4netFactory factory)
     : this(log.Logger, factory)
 {
 }