precise/go: simplify hooks and improve log messages