If the user is using a different logging approach, they should be able to pass in a function to use for logging instead of `log`.