Adds log(str);

This will probably fail.