diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-23 02:55:31 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-23 02:55:31 +0100 |
commit | 6b09371d4a4e8063ca6b1b67dff15ebcd143399d (patch) | |
tree | 5601d070b956531ecd0a01569cd873e8b7eb2275 | |
parent | d80095a3d3490880b2263e7f15dc78de3e19373f (diff) | |
download | prosody-6b09371d4a4e8063ca6b1b67dff15ebcd143399d.tar.gz prosody-6b09371d4a4e8063ca6b1b67dff15ebcd143399d.zip |
core.loggingmanager: Reinstating global log() function
-rw-r--r-- | core/loggingmanager.lua | 2 |
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 |