Changes many print statements to their appropriate ROS log events.