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

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