mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
loggingmanager: Add prosody.log (intended to be used instead of _G.log now)
This commit is contained in:
parent
7f8d1c0995
commit
16f55dac02
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ local logger = require "util.logger";
|
|||
local prosody = prosody;
|
||||
|
||||
_G.log = logger.init("general");
|
||||
prosody.log = logger.init("general");
|
||||
|
||||
local _ENV = nil;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue