From c0d89c881036cc21bdb22f60194ec3da666abaa6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 11 Dec 2015 14:00:42 +0000 Subject: loggingmanager: Add prosody.log (intended to be used instead of _G.log now) --- core/loggingmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/loggingmanager.lua') 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; -- cgit v1.2.3