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 | c0d89c881036cc21bdb22f60194ec3da666abaa6 (patch) | |
tree | d184dab477610c7cc3bf8f666dc8ea67bf3ca2a3 | |
parent | 47fd3f55f22d92f1fa2d25097545a6b4a17d3564 (diff) | |
download | prosody-c0d89c881036cc21bdb22f60194ec3da666abaa6.tar.gz prosody-c0d89c881036cc21bdb22f60194ec3da666abaa6.zip |
loggingmanager: Add prosody.log (intended to be used instead of _G.log now)
-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; |