Clean up glean export
Summary:
Re-running the glean export today, I notice that some of the logs and error messages are hard to read.
* Finish replacing all Printf commands with Hh_logger commands.
* Remove all newlines and flush-buffer commands, which are no longer needed since we're now using Hh_logger instead of printf.
* I notice that we're not actually printing the full error messages anywhere. Make it possible to read these by emitting the full error list.
* I notice that if you fail to export to json, the command does nothing. It should really explain why.
* Also, Globalrev is a facebook concept. It doesn't need to exist in the open source part of this program. I'll move it from the main program into the glean specific exporter.
Reviewed By: rleshchinskiy
Differential Revision:
D15320006
fbshipit-source-id:
9237ae415906505476f201381e4509435861b0e2