aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-12-11 14:00:42 +0000
committerMatthew Wild <mwild1@gmail.com>2015-12-11 14:00:42 +0000
commitc0d89c881036cc21bdb22f60194ec3da666abaa6 (patch)
treed184dab477610c7cc3bf8f666dc8ea67bf3ca2a3 /core
parent47fd3f55f22d92f1fa2d25097545a6b4a17d3564 (diff)
downloadprosody-c0d89c881036cc21bdb22f60194ec3da666abaa6.tar.gz
prosody-c0d89c881036cc21bdb22f60194ec3da666abaa6.zip
loggingmanager: Add prosody.log (intended to be used instead of _G.log now)
Diffstat (limited to 'core')
-rw-r--r--core/loggingmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index e21e3901..15d2ee3c 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -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;