comparison Modules/Debug.lua @ 24:554b30908b33 v0.1

- Fixed a bug with the mail where items get recorded by the mail scanner and the bag scanner. - Fixed some minor issues not visible to the user.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sun, 11 Jul 2010 09:24:33 -0700
parents 66b7c3f5937e
children 003de902ae64
comparison
equal deleted inserted replaced
23:819bfdc5d73c 24:554b30908b33
2 local addon = _G[addonName] 2 local addon = _G[addonName]
3 3
4 local utils = addonTable.utils 4 local utils = addonTable.utils
5 5
6 6
7 function addon:Debug(msg) 7 function addon:Debug(msg, ...)
8 msg = format(msg, ...)
8 self:Log(msg, " |cffffff00DEBUG") 9 self:Log(msg, " |cffffff00DEBUG")
9 end 10 end
10 11
11 function addon:Log(message, prefix) 12 function addon:Log(message, prefix)
12 prefix = prefix or "" 13 prefix = prefix or ""