Skip to content

Commit

Permalink
RTD module: log submodules on init (prebid#7922)
Browse files Browse the repository at this point in the history
Addresses prebid#7883
  • Loading branch information
dgirardi committed Jan 10, 2022
1 parent 8ef677b commit c9dc39c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/rtdModule/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

import {config} from '../../src/config.js';
import {module} from '../../src/hook.js';
import {logError, logWarn} from '../../src/utils.js';
import {logError, logInfo, logWarn} from '../../src/utils.js';
import events from '../../src/events.js';
import CONSTANTS from '../../src/constants.json';
import {gdprDataHandler, uspDataHandler} from '../../src/adapterManager.js';
Expand Down Expand Up @@ -256,6 +256,7 @@ function initSubModules() {
}
});
subModules = subModulesByOrder;
logInfo(`Real time data module enabled, using submodules: ${subModules.map((m) => m.name).join(', ')}`);
}

/**
Expand Down

0 comments on commit c9dc39c

Please sign in to comment.