예제 #1
0
        public LogHubLoggerProviderFactoryBase(RazorLogHubTraceProvider traceProvider)
        {
            if (traceProvider is null)
            {
                throw new System.ArgumentNullException(nameof(traceProvider));
            }

            _traceProvider = traceProvider;

            _initializationSemaphore = new SemaphoreSlim(initialCount: 1, maxCount: 1);
        }
 public RazorLanguageServerLogHubLoggerProviderFactory(RazorLogHubTraceProvider traceProvider)
     : base(traceProvider)
 {
 }