defined logger caller

This commit is contained in:
Jan Prochazka
2023-01-21 17:49:16 +01:00
parent 4d93be61b5
commit cc0f05168d
40 changed files with 46 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
const ObjectId = require('mongodb').ObjectId;
const { getLogger } = global.DBGATE_TOOLS;
const logger = getLogger();
const logger = getLogger('mongoBulkInsert');
function createBulkInsertStream(driver, stream, pool, name, options) {