what's the proper way to output to stdout? console.log ?