just for the fun of it. writing a logger for node.js