ignore route in winston code example
Example: winston exclude routes
var routeWhitelist = ['/foo', '/bar'];
app.use(expressWinston.logger({
transports: [new winston.transports.Console()],
ignoreRoute: function (req, res) {
return routeWhitelist.indexOf(req.originalUrl || req.url) === -1;
}
}));