Log more events during build and check operations

Summary: Add some logging endpoints in typecheck and build operations.

Reviewed By: @aryx, @jwatzman

Differential Revision: D1492624