Capture window.console.log calls & use middleware