mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
defined logger caller
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user