Thread Tools Display Modes
10-19-07, 04:39 PM   #1
tipoux
A Murloc Raider
Join Date: Oct 2007
Posts: 5
Logging tool

Hi,
I looked in the Dev tools and others sections of this site and I can't find an addon to log the events or system messages. To be usefull to me, this tool would have to be able to log the errors that make my client disconnect.
Thanks
  Reply With Quote
10-19-07, 08:20 PM   #2
jonathon
A Chromatic Dragonspawn
 
jonathon's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 179
errors that cause your client to dc are, I believe, logged in Program Files/World of Warcraft/Errors.

But I could be wrong.
  Reply With Quote
10-21-07, 04:28 PM   #3
Eidolarr
An Aku'mai Servant
 
Eidolarr's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 34
I believe that folder is for crashes in WoW, not disconnections.

This would not be a hard addon to write at all.
Code:
local events = { --[[ your events here ]] }
local f = CreateFrame("Frame", nil, UIParent)
SystemMessageLog = SystemMessageLog or { }

for _,e in pairs(events) do f:RegisterEvent(e) end

f:SetScript("OnEvent", function (_, ...)
  SystemMessageLog[time()] = {...}
end)
Should put you on the right track. You'll need to register SystemMessageLog for saves and fix the bugs that are without a doubt there.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Logging tool


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off