Comparison

core/loggingmanager.lua @ 1050:9552c08241af

Merge with 0.4 branch
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2009 03:28:35 +0100
parent 1046:6fef969ff307
child 1067:21f41b06f1d2
comparison
equal deleted inserted replaced
1044:41a0c76127f4 1050:9552c08241af
10 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring; 10 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring;
11 11
12 local config = require "core.configmanager"; 12 local config = require "core.configmanager";
13 13
14 local logger = require "util.logger"; 14 local logger = require "util.logger";
15
16 _G.log = logger.init("general");
15 17
16 module "loggingmanager" 18 module "loggingmanager"
17 19
18 -- The log config used if none specified in the config file 20 -- The log config used if none specified in the config file
19 local default_logging = { { to = "console" } }; 21 local default_logging = { { to = "console" } };