From c9dc39c077bd4c0cc5d4329c61aab76bb07a0a1b Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Mon, 10 Jan 2022 09:15:23 -0800 Subject: [PATCH] RTD module: log submodules on init (#7922) 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 63c6a8d580d..67326e7d887 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(', ')}`); } /**