From 6b09371d4a4e8063ca6b1b67dff15ebcd143399d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 23 Apr 2009 02:55:31 +0100 Subject: core.loggingmanager: Reinstating global log() function --- core/loggingmanager.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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 -- cgit v1.2.3