protected void Disposing(bool disposing) { if (!disposed) { if (logger != null) { logger.Flush(); logger = null; } } disposed = true; }
public ILogger CreateLogger(string categoryName) { logger = new AppInsightsLogger(categoryName, filter, options); return(logger); }