creating a logger to capture module console.log/Log.log output