aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-23 02:55:31 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-23 02:55:31 +0100
commit6b09371d4a4e8063ca6b1b67dff15ebcd143399d (patch)
tree5601d070b956531ecd0a01569cd873e8b7eb2275 /core/loggingmanager.lua
parentd80095a3d3490880b2263e7f15dc78de3e19373f (diff)
downloadprosody-6b09371d4a4e8063ca6b1b67dff15ebcd143399d.tar.gz
prosody-6b09371d4a4e8063ca6b1b67dff15ebcd143399d.zip
core.loggingmanager: Reinstating global log() function
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 36f83861..298e4c45 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -13,6 +13,8 @@ local config = require "core.configmanager";
local logger = require "util.logger";
+_G.log = logger.init("general");
+
module "loggingmanager"
-- The log config used if none specified in the config file