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
commit16f55dac025fd4e40eb8b19e3cc69d68354b8feb (patch)
treed184dab477610c7cc3bf8f666dc8ea67bf3ca2a3 /core
parent7f8d1c0995b51435b4d6a4f5c7a5d5ed7ab5d8e2 (diff)
downloadprosody-16f55dac025fd4e40eb8b19e3cc69d68354b8feb.tar.gz
prosody-16f55dac025fd4e40eb8b19e3cc69d68354b8feb.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;