Made the logger optional in all providers