/// <summary>
        /// this version configures itself from the LogManager
        /// configuration section
        /// </summary>
        public MongoDbLogAdapter()
        {
            ConnectionString = LogManagerConfiguration.Current.ConnectionString;
            LogFilename      = LogManagerConfiguration.Current.LogFilename;

            MongoBusiness = new MongoDbBusinessBase <WebLogEntry, MongoDbContext>(connectionString: ConnectionString, collection: LogFilename);
        }
        /// <summary>
        /// Must pass in a SQL Server connection string or 
        /// config ConnectionString Id.
        /// </summary>
        /// <param name="connectionString">Connection string to a MongoDb database</param>        
        /// <param name="tableName">Name of the table to create in MongoDb database</param>        
        public MongoDbLogAdapter(string connectionString, string tableName = null)
        {
            ConnectionString = connectionString;
            if (tableName != null)
                LogFilename = tableName;

            MongoBusiness = new MongoDbBusinessBase<WebLogEntry, MongoDbContext>(connectionString: ConnectionString, collection: LogFilename);
        }
        /// <summary>
        /// Must pass in a SQL Server connection string or
        /// config ConnectionString Id.
        /// </summary>
        /// <param name="connectionString">Connection string to a MongoDb database</param>
        /// <param name="tableName">Name of the table to create in MongoDb database</param>
        public MongoDbLogAdapter(string connectionString, string tableName = null)
        {
            ConnectionString = connectionString;
            if (tableName != null)
            {
                LogFilename = tableName;
            }

            MongoBusiness = new MongoDbBusinessBase <WebLogEntry, MongoDbContext>(connectionString: ConnectionString, collection: LogFilename);
        }
        /// <summary>
        /// this version configures itself from the LogManager 
        /// configuration section
        /// </summary>
        public MongoDbLogAdapter()
        {
            ConnectionString = LogManagerConfiguration.Current.ConnectionString;
            LogFilename = LogManagerConfiguration.Current.LogFilename;

            MongoBusiness = new MongoDbBusinessBase<WebLogEntry, MongoDbContext>(connectionString: ConnectionString, collection: LogFilename);
        }