A simple logging middleware for node.js