Pass along log function to BuildTask.run