From eec0c82f6f08cce700b4b73e214f476d2f3ddf9f Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Fri, 7 Jan 2022 08:17:45 -0800 Subject: [PATCH] RTD module: log submodules on init Addresses https://github.com/prebid/Prebid.js/issues/7883 --- modules/rtdModule/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/rtdModule/index.js b/modules/rtdModule/index.js index 63c6a8d580d0..67326e7d8872 100644 --- a/modules/rtdModule/index.js +++ b/modules/rtdModule/index.js @@ -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'; @@ -256,6 +256,7 @@ function initSubModules() { } }); subModules = subModulesByOrder; + logInfo(`Real time data module enabled, using submodules: ${subModules.map((m) => m.name).join(', ')}`); } /**