Change the class being use by the logger