Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
new Log({message: 'Ensuring capped collection.'}).save(function () {
var MongoDB = require('winston-mongodb').MongoDB;
// only way to set the default logger config is via the private pine impl
logger._impl.add(MongoDB, self.config.get('winston-mongodb'));
});
};