From 0998af8c95fa4151c9463aec05ffaaec2454b06a Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Thu, 23 Jan 2025 16:25:44 +0100 Subject: [PATCH] Align Lua plugin logger output to Duktape's one --- src/plugins/lua/echotest.lua | 2 +- src/plugins/lua/videoroom.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lua/echotest.lua b/src/plugins/lua/echotest.lua index dcbc5d4888..e37d2f2086 100644 --- a/src/plugins/lua/echotest.lua +++ b/src/plugins/lua/echotest.lua @@ -14,7 +14,7 @@ logger = require('janus-logger') -- Example details name = "echotest.lua" -logger.prefix(colors.blue .. name .. colors.reset) +logger.prefix("[" .. colors.blue .. name .. colors.reset .. "]") logger.print("Loading...") -- State and properties diff --git a/src/plugins/lua/videoroom.lua b/src/plugins/lua/videoroom.lua index 91d39d5848..117e5783db 100644 --- a/src/plugins/lua/videoroom.lua +++ b/src/plugins/lua/videoroom.lua @@ -14,7 +14,7 @@ logger = require('janus-logger') -- Example details name = "videoroom.lua" -logger.prefix(colors.blue .. name .. colors.reset) +logger.prefix("[" .. colors.blue .. name .. colors.reset .. "]") logger.print("Loading...") -- State and properties