public void AddProvider(LoggingProvider provider) { lock (_instanceLock) _loggingProviders.Add(provider); }