made the logger optional in all providers