Is there a simple built-in way to output formatted data to console in Node.js?
Indent, align field to left or right, add leading zeros?
Take a look at Log4JS, which is an attempt at a functional port of Log4j