public APILogger(string cacheName, DebugAPIConfiguraions debugAPIConfigurations) { _debugAPIConfigurations = debugAPIConfigurations; _logToFileInterval = 1000 * DebugAPIConfiguraions.LoggerThreadLoggingInterval; _cacheName = cacheName; _thread = new Thread(new ThreadStart(LogInBackground)); _thread.IsBackground = true; _thread.Start(); }
public WrapperCache(Cache cache) { _webCache = cache; try { _debugConfigurations = new DebugAPIConfiguraions(); _apiLogger = new APILogger(cache.CacheId, _debugConfigurations); } catch (Exception) { } }