Comparison

squishy @ 238:9b6fca5d9a02

verse, squishy: Port to Prosody's util.logger. Adds new function, verse.set_log_handler(handler, levels).
author Matthew Wild <mwild1@gmail.com>
date Sun, 27 Nov 2011 22:45:26 +0000
parent 233:b5fd3292bdbd
child 273:c5b7a4c717a6
comparison
equal deleted inserted replaced
237:d158c97556b4 238:9b6fca5d9a02
1 Output "verse.lua" 1 Output "verse.lua"
2 2
3 -- Verse-specific versions of libraries 3 -- Verse-specific versions of libraries
4 Module "util.encodings" "libs/encodings.lua" 4 Module "util.encodings" "libs/encodings.lua"
5 Module "util.hashes" "libs/hashes.lua" 5 Module "util.hashes" "libs/hashes.lua"
6 Module "util.logger" "libs/logger.lua"
7 Module "util.sha1" "util/sha1.lua" 6 Module "util.sha1" "util/sha1.lua"
8 Module "lib.adhoc" "libs/adhoc.lib.lua" 7 Module "lib.adhoc" "libs/adhoc.lib.lua"
9 8
10 -- Prosody libraries 9 -- Prosody libraries
11 if not GetOption("prosody") then 10 if not GetOption("prosody") then
25 Module "util.jid" "util/jid.lua" 24 Module "util.jid" "util/jid.lua"
26 Module "util.events" "util/events.lua" 25 Module "util.events" "util/events.lua"
27 Module "util.dataforms" "util/dataforms.lua" 26 Module "util.dataforms" "util/dataforms.lua"
28 Module "util.caps" "util/caps.lua" 27 Module "util.caps" "util/caps.lua"
29 Module "util.vcard" "util/vcard.lua" 28 Module "util.vcard" "util/vcard.lua"
29 Module "util.logger" "util/logger.lua"
30 30
31 -- Verse plugins 31 -- Verse plugins
32 plugins = { 32 plugins = {
33 -- Login 33 -- Login
34 "tls", "sasl", "bind", "session", "legacy", "compression"; 34 "tls", "sasl", "bind", "session", "legacy", "compression";