add debugLevel to logProvider