extract the success/failure logging of the builder to an interface.