Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
while (buffer.length !== 0) {
entry = buffer.shift()
mongoCollection.insert(entry)
}
}
args = []
if (format) {
args.push(format)
}
if (options) {
args.push(options)
}
return morgan.apply(null, args)
}