Changeset

1046:6fef969ff307

core.loggingmanager: Reinstating global log() function
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2009 02:55:31 +0100
parents 1045:06887b889b17
children 1047:8c2d88cda1dd
files core/loggingmanager.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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