diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-12-11 14:00:42 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-12-11 14:00:42 +0000 |
commit | 16f55dac025fd4e40eb8b19e3cc69d68354b8feb (patch) | |
tree | d184dab477610c7cc3bf8f666dc8ea67bf3ca2a3 /core/loggingmanager.lua | |
parent | 7f8d1c0995b51435b4d6a4f5c7a5d5ed7ab5d8e2 (diff) | |
download | prosody-16f55dac025fd4e40eb8b19e3cc69d68354b8feb.tar.gz prosody-16f55dac025fd4e40eb8b19e3cc69d68354b8feb.zip |
loggingmanager: Add prosody.log (intended to be used instead of _G.log now)
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r-- | core/loggingmanager.lua | 1 |
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; |