Phase starts a timer and returns a stop closure. Calling the
closure emits one verbose line with elapsed time. Subsequent
calls are no-ops, so callers can defer freely without worrying
about double-emit.
SetOutput wires the package to an Output sink. Pass nil to
disable. Subsystems already use this pattern (build.SetOutput,
download.SetProgressEnabled); timing follows it so that
cmd/gale/output_mode.go can configure all subsystems together.