You could write info to the summary object and spi...
# suitescript
c
You could write info to the summary object and spit it out at the end though as well for pretty much anything