Exemple #1
0
        protected void Disposing(bool disposing)
        {
            if (!disposed)
            {
                if (logger != null)
                {
                    logger.Flush();
                    logger = null;
                }
            }

            disposed = true;
        }
Exemple #2
0
 public ILogger CreateLogger(string categoryName)
 {
     logger = new AppInsightsLogger(categoryName, filter, options);
     return(logger);
 }