Software /
code /
prosody
Diff
core/rostermanager.lua @ 263:75275b6b4e03
Update rostermanager to use new logger
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 17:37:45 +0000 |
parent | 193:13ac34255c37 |
child | 268:fd0607c8f179 |
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;