core.loggingmanager: Reinstating global log() function

Thu, 23 Apr 2009 02:55:31 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Apr 2009 02:55:31 +0100
changeset 1046
6fef969ff307
parent 1045
06887b889b17
child 1047
8c2d88cda1dd

core.loggingmanager: Reinstating global log() function

core/loggingmanager.lua file | annotate | diff | comparison | revisions
--- 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

mercurial