Changeset

263:75275b6b4e03

Update rostermanager to use new logger
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Nov 2008 17:37:45 +0000
parents 262:8c73fb2ff4a2
children 264:a296b61baad8
files core/rostermanager.lua
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/core/rostermanager.lua	Fri Nov 14 16:03:33 2008 +0000
+++ b/core/rostermanager.lua	Fri Nov 14 17:37:45 2008 +0000
@@ -1,8 +1,6 @@
 
-local mainlog = log;
-local function log(type, message)
-	mainlog(type, "rostermanager", message);
-end
+
+local log = require "util.logger".init("rostermanager");
 
 local setmetatable = setmetatable;
 local format = string.format;