node.js java like logging