Print to console

Print total function to console