Changeset

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
parents 6987:06696882d972
children 7007:e28fbe6dd424
files core/loggingmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;