Gather logging into a single util file
This is the first step at gathering all of the raw fprintf
s we have spread out in the codebase to go through one place. Not the final interface, and logging format, but at least we can start the process of removing the use of fprintf
in the codebase.