Download
(32 Kb)
Download
Updated: 04/17/23 04:52 PM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Updated:04/17/23 04:52 PM
Created:05/31/19 03:28 PM
Monthly downloads:311
Total downloads:17,732
Favorites:48
MD5:
Categories:Utility Mods, Data Mods
DebugLogViewer  Popular! (More than 5000 hits)
Version: 1.2.0
by: sirinsidiator [More]
This add-on is a front-end for LibDebugLogger and allows to view and filter the logged messages.
There is now an external Log Viewer too, which can be used to share log files.

Features:
  • Quick Log for non-intrusive display of log messages
  • No more Lua error pop-ups - they will now show in the quick log and play a sound instead
  • No more add-on debug messages in chat - they will be shown in the quick log
  • Log Viewer with filters
  • Detail view for message
  • Add-on Settings (including LibDebugLogger settings)

The log viewer can be bound to a key, opened via the /logviewer slash command, or via the options context menu in the quick log.
Clicking the time stamp or tag on an entry in the quick log, or the a row in the log viewer will open a new window with the full message and stack trace.
Any links in a message can be interacted with normally, both from the log viewer and the quick log.

Dependencies:
Make sure to install the following required libraries in order to use DebugLogViewer.
Reporting a problem:
Before you report something, please make sure you have installed the latest version of all your addons and check the Change Log for known issues.

Please take the time to cover the following points in your report:
1) What were you trying to do?
2) What actually happened?
3) Which steps did you take?
4) Can you reproduce it a second time after logging out and in again (or /reloadui)?

Screenshots and videos are also very useful to figure out what is going wrong. In addition you should also log out (or /reloadui) and upload the LibDebugLogger.lua from your Saved Variables somewhere and include a link to it. It contains a lot of useful information that will make it even easier for me to pinpoint an issue and get it fixed fast.
v1.2.0
- updated for Necrom

v1.1.0
- added support for verbose log level
- changed how log messages are sanitized (markup is now printed in plain text instead of rendered)
- fixed an error caused by log messages without a valid tag
- added support for verbose log level
- added some public APIs (see StartUp.lua)
Archived Files (2)
File Name
Version
Size
Uploader
Date
1.1.0
32kB
sirinsidiator
04/10/20 11:30 AM
1.0.0
32kB
sirinsidiator
06/01/19 08:46 AM


Post A Reply Comment Options
Unread 02/26/20, 01:19 PM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1111
Uploads: 41
Originally Posted by wambo
Is there any way to not "snatch" informational chat messages from addons (like loot log or the likes) from the chat ?

I can deactivate the Info Log Level, but it still doesnt appear in chat anymore?
There is no way to do that aside from not using the DebugLogViewer as a user, or addon authors updating their addons to not abuse the d() debug method to print messages in chat.
The issue is that d() is a debug tool and as such DebugLogViewer will capture its output, but most addons simply abuse it to display chat messages to the user, because it happens to print the debug output in chat in the base game (although it bypasses several systems). If you have a specific addon that doesn't print to chat, you should kindly ask the author to make use of LibChatMessage to print those chat messages the proper way.
Report comment to moderator  
Reply With Quote
Unread 02/26/20, 11:27 AM  
wambo
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
Is there any way to not "snatch" informational chat messages from addons (like loot log or the likes) from the chat ?

I can deactivate the Info Log Level, but it still doesnt appear in chat anymore?
Report comment to moderator  
Reply With Quote
Unread 06/21/19, 07:50 AM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Re: Re: Awesome!

Whoa! Thanks for the amazingly fast reply!

Worked perfectly after /reloadui

Awesome!
Report comment to moderator  
Reply With Quote
Unread 06/21/19, 07:32 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1111
Uploads: 41
Re: Awesome!

Originally Posted by ChrisK
Love your AddOn - it's really useful.

One question - how to resize the QuickLog? I've unlocked it and can move it around, but cannot find the controls to make it larger or smaller (hinted to in earlier posts here)

Thanks!
You should see the cursor change to a double arrow when you move it over the edge of the quicklog while it is unlocked. Then just click and drag to resize it as you like.
Report comment to moderator  
Reply With Quote
Unread 06/21/19, 06:35 AM  
ChrisK

Forum posts: 0
File comments: 176
Uploads: 0
Awesome!

Love your AddOn - it's really useful.

One question - how to resize the QuickLog? I've unlocked it and can move it around, but cannot find the controls to make it larger or smaller (hinted to in earlier posts here)

Thanks!
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 08:53 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Re: Re: Loot log chat problem after installing

Thank you very much for your understanding and yes i will wait and do what you said.

Beside the option to move that i missed, i tried all you said, and it could have worked, but then i have absolutely no more info in my own chat. I have a tab for Npc/quests, loot helping me a lot, and those stay empty while the viewer run.

I tried to set up the output only for error, but no way chat are still empty.


the viewer contains also a lot of information that i have blocked with some addons help, thus making those totally useless.

Again thank you!

UPDATE : not working, my chat windows is invaded by the log in log off of all the 5 guilds even though they are blocked by No Thank you and Pchat
So until the new version is ready, i just not load the viewer but stil will check each day my debuglogger
No worry, and no hurry


[quote=sirinsidiator]
Originally Posted by Anceane
Originally Posted by sirinsidiator
While i totally understand the benefit of this, for those old old eyes, the quick log is showing way too much information and rolling so fast that i am unable to notice anything, by having it only for 1min i had a log of 3200 .... because it does not log only the loot, but any information from crafting, the guilds, the quests, login in, log out, well anything that my character is doing.

I did try to read but as i said it goes so fast LOl poor me.

i tried to move the window but its not possible i guess.

Also the window is in the right down corner, at the place where the loot from ESO appears.

BUT will that saying, i check myself everyday the log of the library, and so far nothing happened. So i guess i will go on like this. I will keep the lib on but not the viewer as it is for me a real problem and as much as i would like to benefit from it, i really can not enjoy it

So just dont bother for one old eyes gran'ma lmao, your tool is fantastic
The quick log can be moved, it is just "locked" by default to avoid accidentally changing its location or size. Just click the settings menu icon above the scroll bar and it will show an entry "Unlock Position". Then you can resize and move it. Afterwards you can "Lock Position" again. If you have a hard time reading the text, you can also increase the font size in the settings menu of the addon.
And last but not least, you can configure the quick log to let the shown output disappear after a specific time and remove it once it is hidden (also from the addon settings). That way you only see the newest messages in there, which may be less confusing.

If you still feel like the quick log is not for you, then you will have to wait for the next version of Debug Log Viewer. I plan to add a setting to allow configuring where the chat messages should be shown (quick log or regular chat as before). For now you can edit the file "StartUp.lua" in the DebugLogViewer folder and remove line 74 "LDL:SetBlockChatOutputEnabled(true)".
Last edited by Anceane : 06/02/19 at 10:58 AM.
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 04:59 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1111
Uploads: 41
Re: Re: Re: Loot log chat problem after installing

[quote=Anceane]
Originally Posted by sirinsidiator
While i totally understand the benefit of this, for those old old eyes, the quick log is showing way too much information and rolling so fast that i am unable to notice anything, by having it only for 1min i had a log of 3200 .... because it does not log only the loot, but any information from crafting, the guilds, the quests, login in, log out, well anything that my character is doing.

I did try to read but as i said it goes so fast LOl poor me.

i tried to move the window but its not possible i guess.

Also the window is in the right down corner, at the place where the loot from ESO appears.

BUT will that saying, i check myself everyday the log of the library, and so far nothing happened. So i guess i will go on like this. I will keep the lib on but not the viewer as it is for me a real problem and as much as i would like to benefit from it, i really can not enjoy it

So just dont bother for one old eyes gran'ma lmao, your tool is fantastic
The quick log can be moved, it is just "locked" by default to avoid accidentally changing its location or size. Just click the settings menu icon above the scroll bar and it will show an entry "Unlock Position". Then you can resize and move it. Afterwards you can "Lock Position" again. If you have a hard time reading the text, you can also increase the font size in the settings menu of the addon.
And last but not least, you can configure the quick log to let the shown output disappear after a specific time and remove it once it is hidden (also from the addon settings). That way you only see the newest messages in there, which may be less confusing.

If you still feel like the quick log is not for you, then you will have to wait for the next version of Debug Log Viewer. I plan to add a setting to allow configuring where the chat messages should be shown (quick log or regular chat as before). For now you can edit the file "StartUp.lua" in the DebugLogViewer folder and remove line 74 "LDL:SetBlockChatOutputEnabled(true)".
Last edited by sirinsidiator : 06/02/19 at 05:00 AM.
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 07:08 PM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: Loot log chat problem after installing

Originally Posted by sirinsidiator
Originally Posted by Anceane
I dont know if as user i have to use this, but if yes, there is a little problem.

I have the log of my loot going on the chat, after installing Logviewer, i was not receiving any info or update on my loot.

So i made a test

without :

- doing my writ dailies, i receive the information about the content of the crat
- selling a ornate item appear in the log too
- transfering into my back works too

With :
Nothing shows up at any moment

Is there a setting to do for this into the Viewer ?

Thank you

the addons i use for the log loot and info are :

- luiextended and Pchat
This addon is intended for both authors and regular players alike. The biggest benefit for non-authors is that it will suppress the Lua Error pop-up that could show up in the worst situations (e.g. mid combat).

The loot info should be shown in the quick log, unless you hid that window (bottom right of the screen). Maybe you can send me a screenshot or video. I'll also check out if Lui does something strange.
While i totally understand the benefit of this, for those old old eyes, the quick log is showing way too much information and rolling so fast that i am unable to notice anything, by having it only for 1min i had a log of 3200 .... because it does not log only the loot, but any information from crafting, the guilds, the quests, login in, log out, well anything that my character is doing.

I did try to read but as i said it goes so fast LOl poor me.

i tried to move the window but its not possible i guess.

Also the window is in the right down corner, at the place where the loot from ESO appears.

BUT will that saying, i check myself everyday the log of the library, and so far nothing happened. So i guess i will go on like this. I will keep the lib on but not the viewer as it is for me a real problem and as much as i would like to benefit from it, i really can not enjoy it

So just dont bother for one old eyes gran'ma lmao, your tool is fantastic


Last edited by Anceane : 06/01/19 at 07:24 PM.
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 05:39 PM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1111
Uploads: 41
Re: Loot log chat problem after installing

Originally Posted by Anceane
I dont know if as user i have to use this, but if yes, there is a little problem.

I have the log of my loot going on the chat, after installing Logviewer, i was not receiving any info or update on my loot.

So i made a test

without :

- doing my writ dailies, i receive the information about the content of the crat
- selling a ornate item appear in the log too
- transfering into my back works too

With :
Nothing shows up at any moment

Is there a setting to do for this into the Viewer ?

Thank you

the addons i use for the log loot and info are :

- luiextended and Pchat
This addon is intended for both authors and regular players alike. The biggest benefit for non-authors is that it will suppress the Lua Error pop-up that could show up in the worst situations (e.g. mid combat).

The loot info should be shown in the quick log, unless you hid that window (bottom right of the screen). Maybe you can send me a screenshot or video. I'll also check out if Lui does something strange.
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 11:20 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Loot log chat problem after installing

I dont know if as user i have to use this, but if yes, there is a little problem.

I have the log of my loot going on the chat, after installing Logviewer, i was not receiving any info or update on my loot.

So i made a test

without :

- doing my writ dailies, i receive the information about the content of the crat
- selling a ornate item appear in the log too
- transfering into my back works too

With :
Nothing shows up at any moment

Is there a setting to do for this into the Viewer ?

Thank you

the addons i use for the log loot and info are :

- luiextended and Pchat
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 10:15 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
Re: Re: errors pop

grr crap the only lib that was not in my favorite ... so i missed the update .... sorry


Originally Posted by sirinsidiator
Originally Posted by Anceane
So i checked i have all the libraries asked and i have them all from last version for each
At drop into the game, those two errors :

Code:
user:/AddOns/DebugLogViewer/StartUp.lua:74: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/StartUp.lua:74: in function '(main chunk)'
|caaaaaa<Locals> ADDON_NAME = "DebugLogViewer", DLV = tbl, LDL = tbl, ZO_ERROR_FRAME = tbl, internal = tbl, class = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_DETAIL_MESSAGE_TEMPLATE = "%s |r%s", LOG_DETAIL_TITLE_TEMPLATE = "%s %s", nextEventHandleIndex = 1, RegisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:42, UnregisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:51, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, OnAddonLoaded = user:/AddOns/DebugLogViewer/StartUp.lua:64 </Locals>|r
Code:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: in function '(main chunk)'
|caaaaaa<Locals> DLV = tbl, LDL = tbl, internal = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, DEFAULT_SETTINGS = tbl, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_VIEWER_TAG_TEMPLATE = "%s/%s", LOG_VIEWER_TAG_WITH_REPS_TEMPLATE = "%s/%s (%dx)", LOG_DATA = 1, LOG_ENTRY_HEIGHT = 30, TIME_FILTER_SESSION = 1, TIME_FILTER_UI_LOAD = 2, TIME_FILTER_ALL = 3 </Locals>|r
Thank you
The DebugLogViewer relies on LibDebugLogger v1.1, so you need to make sure to update that library (update was released earlier today).
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 09:46 AM  
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1566
File comments: 1111
Uploads: 41
Re: errors pop

Originally Posted by Anceane
So i checked i have all the libraries asked and i have them all from last version for each
At drop into the game, those two errors :

Code:
user:/AddOns/DebugLogViewer/StartUp.lua:74: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/StartUp.lua:74: in function '(main chunk)'
|caaaaaa<Locals> ADDON_NAME = "DebugLogViewer", DLV = tbl, LDL = tbl, ZO_ERROR_FRAME = tbl, internal = tbl, class = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_DETAIL_MESSAGE_TEMPLATE = "%s |r%s", LOG_DETAIL_TITLE_TEMPLATE = "%s %s", nextEventHandleIndex = 1, RegisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:42, UnregisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:51, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, OnAddonLoaded = user:/AddOns/DebugLogViewer/StartUp.lua:64 </Locals>|r
Code:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: in function '(main chunk)'
|caaaaaa<Locals> DLV = tbl, LDL = tbl, internal = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, DEFAULT_SETTINGS = tbl, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_VIEWER_TAG_TEMPLATE = "%s/%s", LOG_VIEWER_TAG_WITH_REPS_TEMPLATE = "%s/%s (%dx)", LOG_DATA = 1, LOG_ENTRY_HEIGHT = 30, TIME_FILTER_SESSION = 1, TIME_FILTER_UI_LOAD = 2, TIME_FILTER_ALL = 3 </Locals>|r
Thank you
The DebugLogViewer relies on LibDebugLogger v1.1, so you need to make sure to update that library (update was released earlier today).
Report comment to moderator  
Reply With Quote
Unread 06/01/19, 09:19 AM  
Anceane
 
Anceane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 306
File comments: 1017
Uploads: 1
errors pop

So i checked i have all the libraries asked and i have them all from last version for each
At drop into the game, those two errors :

Code:
user:/AddOns/DebugLogViewer/StartUp.lua:74: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/StartUp.lua:74: in function '(main chunk)'
|caaaaaa<Locals> ADDON_NAME = "DebugLogViewer", DLV = tbl, LDL = tbl, ZO_ERROR_FRAME = tbl, internal = tbl, class = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_DETAIL_MESSAGE_TEMPLATE = "%s |r%s", LOG_DETAIL_TITLE_TEMPLATE = "%s %s", nextEventHandleIndex = 1, RegisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:42, UnregisterForEvent = user:/AddOns/DebugLogViewer/StartUp.lua:51, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, OnAddonLoaded = user:/AddOns/DebugLogViewer/StartUp.lua:64 </Locals>|r
Code:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: function expected instead of nil
stack traceback:
user:/AddOns/DebugLogViewer/LogViewer.lua:19: in function '(main chunk)'
|caaaaaa<Locals> DLV = tbl, LDL = tbl, internal = tbl, gettext = user:/AddOns/LibGetText/LibGetText.lua:18, PrepareOutput = user:/AddOns/DebugLogViewer/StartUp.lua:55, DEFAULT_SETTINGS = tbl, LEVEL_TO_LOCALIZED_STRING = tbl, LOG_VIEWER_TAG_TEMPLATE = "%s/%s", LOG_VIEWER_TAG_WITH_REPS_TEMPLATE = "%s/%s (%dx)", LOG_DATA = 1, LOG_ENTRY_HEIGHT = 30, TIME_FILTER_SESSION = 1, TIME_FILTER_UI_LOAD = 2, TIME_FILTER_ALL = 3 </Locals>|r
Thank you
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.