Revert "Stop using puts for logging."

This reverts commit a225b286f27a9857b77476c9e80eed4e378dda2f.