loggingmanager: Add prosody.log (intended to be used instead of _G.log now)

This commit is contained in:
Matthew Wild 2015-12-11 14:00:42 +00:00
parent 7f8d1c0995
commit 16f55dac02

View file

@ -26,6 +26,7 @@ local logger = require "util.logger";
local prosody = prosody; local prosody = prosody;
_G.log = logger.init("general"); _G.log = logger.init("general");
prosody.log = logger.init("general");
local _ENV = nil; local _ENV = nil;