Comparison

core/loggingmanager.lua @ 3438:9a8b716fda14

loggingmanager: Remove (redundant!) dependency on eventmanager
author Matthew Wild <mwild1@gmail.com>
date Tue, 03 Aug 2010 10:59:47 +0100
parent 3358:b5a812cf698c
child 3514:fdae08713c67
comparison
equal deleted inserted replaced
3437:1e93b4d46d92 3438:9a8b716fda14
22 local _io_write = io_write; 22 local _io_write = io_write;
23 io_write = function(...) _io_write(...); io_flush(); end 23 io_write = function(...) _io_write(...); io_flush(); end
24 end 24 end
25 25
26 local config = require "core.configmanager"; 26 local config = require "core.configmanager";
27 local eventmanager = require "core.eventmanager";
28 local logger = require "util.logger"; 27 local logger = require "util.logger";
29 local prosody = prosody; 28 local prosody = prosody;
30 29
31 local debug_mode = config.get("*", "core", "debug"); 30 local debug_mode = config.get("*", "core", "debug");
32 31