Diff

core/loggingmanager.lua @ 7006:93771dad3e05

loggingmanager: Add prosody.log (intended to be used instead of _G.log now)
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 Dec 2015 14:00:42 +0000
parent 6779:6236668da30a
child 7125:631c47a65519
line wrap: on
line diff
--- a/core/loggingmanager.lua	Thu Dec 10 18:00:08 2015 +0000
+++ b/core/loggingmanager.lua	Fri Dec 11 14:00:42 2015 +0000
@@ -26,6 +26,7 @@
 local prosody = prosody;
 
 _G.log = logger.init("general");
+prosody.log = logger.init("general");
 
 local _ENV = nil;