Skip to content

Commit

Permalink
Align Lua plugin logger output to Duktape's one
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Jan 23, 2025
1 parent 7c637fd commit 0998af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/lua/echotest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/lua/videoroom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0998af8

Please sign in to comment.