Avoid TypeError: currentLogger is not a function      at Logger.debug (node_modules/mongodb/node_modules/mongodb-core/lib/connection/logger.js:74:5)      at new Connection (node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:68:41)      at Pool.connect (node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:225:20)      at Server.connect (node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:1010:15)      at Server.connect (node_modules/mongodb/lib/server.js:318:17)      at open (node_modules/mongodb/lib/db.js:235:19)      at Db.open (node_modules/mongodb/lib/db.js:258:44)
Avoid TypeError: currentLogger is not a function
     at Logger.debug (node_modules/mongodb/node_modules/mongodb-core/lib/connection/logger.js:74:5)
     at new Connection (node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:68:41)
     at Pool.connect (node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:225:20)
     at Server.connect (node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:1010:15)
     at Server.connect (node_modules/mongodb/lib/server.js:318:17)
     at open (node_modules/mongodb/lib/db.js:235:19)
     at Db.open (node_modules/mongodb/lib/db.js:258:44)

When using options.logger
christkv/mongodb-core,andrasq/mongodb-core,mongodb-js/mongodb-core,christkv/mongodb-core,andrasq/mongodb-core,mongodb-js/mongodb-core