diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-14 17:37:45 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-14 17:37:45 +0000 |
commit | 44701835b153e9497a8a5f634ece17ffda41c5ca (patch) | |
tree | f983dd377dadcccafff9a7232c4a417f2852fcac /core/rostermanager.lua | |
parent | d67940a1d7700c0389341c42f845b91e8b32eea6 (diff) | |
download | prosody-44701835b153e9497a8a5f634ece17ffda41c5ca.tar.gz prosody-44701835b153e9497a8a5f634ece17ffda41c5ca.zip |
Update rostermanager to use new logger
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r-- | core/rostermanager.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 9a203337..235f2aee 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -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; |