A middleware that gives you a global logger