Allow logger to be passed into default container