# HG changeset patch # User Matthew Wild # Date 1240451731 -3600 # Node ID 6fef969ff30718c07229fb8c7747b44bc5c9ef64 # Parent 06887b889b17516dec77f7b1a9b7d9250d19b2d4 core.loggingmanager: Reinstating global log() function diff -r 06887b889b17 -r 6fef969ff307 core/loggingmanager.lua --- 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