Diff

core/loggingmanager.lua @ 1046:6fef969ff307

core.loggingmanager: Reinstating global log() function
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2009 02:55:31 +0100
parent 1031:ec013f93de81
child 1067:21f41b06f1d2
line wrap: on
line diff
--- a/core/loggingmanager.lua	Wed Apr 22 21:42:19 2009 +0100
+++ b/core/loggingmanager.lua	Thu Apr 23 02:55:31 2009 +0100
@@ -13,6 +13,8 @@
 
 local logger = require "util.logger";
 
+_G.log = logger.init("general");
+
 module "loggingmanager"
 
 -- The log config used if none specified in the config file