Go to Page... |
Compatibility: | Necrom (9.0.0) Scribes of Fate (8.3.5) |
Updated: | 07/30/23 03:53 PM |
Created: | 02/26/19 10:22 AM |
Monthly downloads: | 18,010 |
Total downloads: | 2,890,108 |
Favorites: | 1,458 |
MD5: |
## DependsOn: LibDebugLogger>=180
local logger = LibDebugLogger("MyAddon") logger:Debug("A debug message") logger:Info("An", "info", "message") -- multiple arguments are passed through tostring and concatenated with a space in between logger:Warn("A %s message: %d", "formatted", 123) -- if the first parameter contains formatting strings, the logger will pass all arguments through string.format instead local subLogger = logger:Create("verbose") -- this will create a separate logger with a combined tag "MyAddon/verbose". subLogger:SetEnabled(false) -- turn the new logger off subLogger:Error("An error message") -- this won't show up
local logger = LibDebugLogger.Create("MyAddon")
local logger = LibDebugLogger:Create("MyAddon")
local logger = LibDebugLogger("MyAddon")
local subLogger = logger:Create("SomeFile")
logger:SetEnabled(false)
logger:SetMinLevelOverride(LibDebugLogger.LOG_LEVEL_DEBUG)
logger:SetLogTracesOverride(true)
logger:Log(LibDebugLogger.LOG_LEVEL_DEBUG, "My formatted message: %s", "some text") logger:Log(LibDebugLogger.LOG_LEVEL_DEBUG, "My", "combined", "message")
local sessionStartTime = LibDebugLogger.SESSION_START_TIME
local uiLoadStartTime = LibDebugLogger.UI_LOAD_START_TIME
local isTraceLoggingEnabled = LibDebugLogger:IsTraceLoggingEnabled()
LibDebugLogger:SetTraceLoggingEnabled(enabled)
local minLogLevel = LibDebugLogger:GetMinLogLevel()
LibDebugLogger:SetMinLogLevel(level)
LibDebugLogger:GetLog()
LibDebugLogger:ToggleFormattingErrors()
LibDebugLogger:ClearLog()
LibDebugLogger:SetBlockChatOutputEnabled(enabled)
local isBlocked = LibDebugLogger:IsBlockChatOutputEnabled()
input = LibDebugLogger.CombineSplitStringIfNeeded(input)
LibDebugLogger:RegisterCallback(callbackName, callback)
LibDebugLogger:RegisterCallback(LibDebugLogger.callback.LOG_CLEARED, function(log) -- do something end)
LibDebugLogger:RegisterCallback(LibDebugLogger.callback.LOG_PRUNED, function(startIndex) -- do something end)
LibDebugLogger:RegisterCallback(LibDebugLogger.callback.LOG_CLEARED, function(entry, wasDuplicate) -- do something end)
File Name |
Version |
Size |
Uploader |
Date |
2.5.0 |
15kB |
sirinsidiator |
04/17/23 04:51 PM |
|
2.4.1 |
15kB |
sirinsidiator |
06/15/22 02:28 PM |
|
2.4.0 |
15kB |
sirinsidiator |
06/10/22 01:01 PM |
|
2.3.0 |
14kB |
sirinsidiator |
11/01/21 10:09 AM |
|
2.2.0 |
14kB |
sirinsidiator |
06/01/21 11:38 AM |
|
2.1.2 |
13kB |
sirinsidiator |
11/12/20 12:32 PM |
|
2.1.1 |
13kB |
sirinsidiator |
11/12/20 10:37 AM |
|
2.1.0 |
13kB |
sirinsidiator |
04/21/20 02:45 PM |
|
2.0.0 |
12kB |
sirinsidiator |
04/10/20 11:24 AM |
|
1.1.1 |
7kB |
sirinsidiator |
03/02/20 12:10 PM |
|
1.1.0 |
7kB |
sirinsidiator |
06/01/19 08:23 AM |
|
1.0.2 |
5kB |
sirinsidiator |
03/16/19 04:39 AM |
|
1.0.1 |
4kB |
sirinsidiator |
03/04/19 12:10 PM |
|
1.0.0 |
4kB |
sirinsidiator |
02/26/19 10:22 AM |
![]() |
Comment Options |
![]() |
|
nice job on this! Love the log stack trace feature too.
|
|
![]() |
![]() |
Architecture |
View Public Profile |
Send a private message to Architecture |
Find More Posts by Architecture |
Add Architecture to Your Buddy List |
Seminolegirl1992 |
View Public Profile |
Send a private message to Seminolegirl1992 |
Find More Posts by Seminolegirl1992 |
Add Seminolegirl1992 to Your Buddy List |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
mausibox01 |
View Public Profile |
Send a private message to mausibox01 |
Find More Posts by mausibox01 |
Add mausibox01 to Your Buddy List |
Seminolegirl1992 |
View Public Profile |
Send a private message to Seminolegirl1992 |
Find More Posts by Seminolegirl1992 |
Add Seminolegirl1992 to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 22
Uploads: 0
|
Deleting the lua file from Saved Variables also worked for me. Thank you!
Before the delete, the DebugLogger was crashing me back to the login screen from any attempt at character load. |
![]() |
![]() |
StytchFingal |
View Public Profile |
Send a private message to StytchFingal |
Send email to StytchFingal |
Find More Posts by StytchFingal |
Add StytchFingal to Your Buddy List |
![]() |
|
Thanks to everyone who sent in their files I was able to identify the problem. Turned out that it is caused by other addons that throw a large number of errors and fill up the LibDebugLogger saved variables until the game can no longer load it. I have updated LibDebugLogger so it keeps its log at a manageable size during the session instead of only removing surplus entries at login.
The two addons I have identified so far are BugCatcher and LUI Extended. I have contacted the author of LUI Extended and the error there should be fixed soon. BugCatcher seems to be abandoned and you should probably disable it, as it is throwing multiple errors per frame, which can have a severe impact on the game performance. |
|
![]() |
![]() |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
![]() |
|
|
Reminder: check the box to show it is up to date.
|
![]() |
![]() |
Rhyono |
View Public Profile |
Send a private message to Rhyono |
Send email to Rhyono |
Find More Posts by Rhyono |
Add Rhyono to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
zelenin |
View Public Profile |
Send a private message to zelenin |
Send email to zelenin |
Find More Posts by zelenin |
Add zelenin to Your Buddy List |
![]() |
|
This error doesn't tell me much. Could you please upload the LibDebugLogger.lua from your saved variables somewhere and send me a link? Otherwise I won't be able to fix this.
|
|
![]() |
![]() |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
![]() |
|
req: Unique call with severity parameter
Sir,
Small feature request at: https://www.esoui.com/portal.php?id=...featureid=1750 (making sure you see it ![]() Thanks for the great work! |
|
![]() |
![]() |
IceHeart |
View Public Profile |
Send a private message to IceHeart |
Send email to IceHeart |
Find More Posts by IceHeart |
Add IceHeart to Your Buddy List |
![]() |
|
I was wondering, will this be updated for 5.2.5 (or for the latest version of ESO)?
![]() |
|
![]() |
![]() |
Edorenel |
View Public Profile |
Send a private message to Edorenel |
Send email to Edorenel |
Visit Edorenel's homepage! |
Find More Posts by Edorenel |
Add Edorenel to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 3
Uploads: 0
|
Error
I'm getting the same error as that other person eight months ago and there doesn't seem to be a LibDebugLogger.lua file in SavedVariables.
Please email me to follow up since I won't notice a reply on ESOUI. I would be happy to perform tests/gather information/generally act as your bug repro. Email: mossygreenrock [at symbol] (gmail) [dot] (com) Error message: user:/AddOns/LibDebugLogger/LibDebugLogger.lua:108: attempt to index a nil value stack traceback: user:/AddOns/LibDebugLogger/LibDebugLogger.lua:108: in function 'FormatTime' user:/AddOns/LibDebugLogger/LibDebugLogger.lua:401: in function '(main chunk)' |
![]() |
![]() |
Aevernia |
View Public Profile |
Send a private message to Aevernia |
Send email to Aevernia |
Visit Aevernia's homepage! |
Find More Posts by Aevernia |
Add Aevernia to Your Buddy List |
![]() |
||
Re: Error
p.s. You will have to check back here on your own if you want help. I don't have time to chase after each and every user who wants something. ![]() |
||
![]() |
![]() |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
![]() |
|
Forum posts: 0
File comments: 3
Uploads: 0
|
Switching to the latest proton fixed it. I honestly didn't expect a reply at all, so thank you for getting back to me!
|
![]() |
![]() |
Aevernia |
View Public Profile |
Send a private message to Aevernia |
Send email to Aevernia |
Visit Aevernia's homepage! |
Find More Posts by Aevernia |
Add Aevernia to Your Buddy List |
![]() |
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.