Go to Page... |
Compatibility: | High Isle (8.0.0) |
Updated: | 06/15/22 02:28 PM |
Created: | 02/26/19 10:22 AM |
Monthly downloads: | 27,415 |
Total downloads: | 2,149,274 |
Favorites: | 1,241 |
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.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 |
Fenweldryn |
View Public Profile |
Send a private message to Fenweldryn |
Find More Posts by Fenweldryn |
Add Fenweldryn 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 |
![]() |
|||
|
|||
![]() |
![]() |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
![]() |
||
|
||
![]() |
![]() |
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 |
![]() |
||
Forum posts: 0
File comments: 12
Uploads: 0
|
Looks like there's been a regression of the AddonVersion?
Tested locally and chaning to 211 works nicely. |
|
![]() |
![]() |
esran |
View Public Profile |
Send a private message to esran |
Send email to esran |
Find More Posts by esran |
Add esran to Your Buddy List |
![]() |
|||
Forum posts: 0
File comments: 41
Uploads: 0
|
Like I said, it's wonky. I'm use to WoW's error logging, where the first addon mentioned is the cause and the rest are all collateral damage. Off to EHT! - And thanks for the quick response. |
||
![]() |
![]() |
Illutian |
View Public Profile |
Send a private message to Illutian |
Send email to Illutian |
Find More Posts by Illutian |
Add Illutian to Your Buddy List |
![]() |
||
|
||
![]() |
![]() |
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 |
![]() |
|
Forum posts: 0
File comments: 41
Uploads: 0
|
Can't completely tell...because ESO's logging is a bit wonky to me. But it appears this addon still makes call the [now depreciated] LibStub addon.
stack traceback: user:/AddOns/LibDebugLogger/LogHandler.lua:185: in function 'Log' (tail call): ? user:/AddOns/LibStub/LibStub/LibStub.lua:47: in function 'LogDeprecationWarning' user:/AddOns/LibStub/LibStub/LibStub.lua:85: in function 'LibStub:GetLibrary' user:/AddOns/EssentialHousingTools/ui.lua:17930: in function 'EHT.UI.RegisterHousingHubScene' user:/AddOns/EssentialHousingTools/handlers.lua:93: in function 'EHT.Handlers.PlayerActivated' [C]: in function 'pcall' user:/AddOns/EssentialHousingTools/essentialhousingtools.lua:1898: in function 'EHT.SafeCall' user:/AddOns/EssentialHousingTools/handlers.lua:200: in function 'EHT.Handlers.OnPlayerActivated' I'm just looking at the lines with "LibDebugLogger". - Slowly making my rounds to other addons still using LibStub. |
![]() |
![]() |
Illutian |
View Public Profile |
Send a private message to Illutian |
Send email to Illutian |
Find More Posts by Illutian |
Add Illutian to Your Buddy List |
![]() |
|
Hi. How do I disable all logging done by this library? Even setting the log level to errors only still produces a large amount of log messages that slow down loading, which really hurts when I'm doing /reloadui during add-on development.
|
|
![]() |
![]() |
Aenathel |
View Public Profile |
Send a private message to Aenathel |
Send email to Aenathel |
Find More Posts by Aenathel |
Add Aenathel to Your Buddy List |
![]() |
|
This error is caused by Furniture Catalog, but I hear it should already be fixed in the latest version, so make sure to update. If it's still happening, please report it in the comment section there.
|
|
![]() |
![]() |
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 |
![]() |
||
Forum posts: 0
File comments: 26
Uploads: 0
|
|
|
![]() |
![]() |
mlucero582 |
View Public Profile |
Send a private message to mlucero582 |
Send email to mlucero582 |
Find More Posts by mlucero582 |
Add mlucero582 to Your Buddy List |
![]() |
|
Forum posts: 9
File comments: 230
Uploads: 0
|
Thanks for helping the mod community to produce better stuff. I got the following error in game the other day, and it looks like it might be related to but different from the other Invalid tag for logger errors. In the interest of assisting you in tracking down whatever is causing it, here is the error:
Invalid tag for logger stack traceback: [C]: in function 'assert' user:/AddOns/LibDebugLogger/Logger.lua:16: in function 'Logger:Initialize' |caaaaaa<Locals> self = [table:1]{} </Locals>|r user:/AddOns/LibDebugLogger/Logger.lua:11: in function 'Logger:New' |caaaaaa<Locals> self = [table:2]{}, obj = [table:1] </Locals>|r (tail call): ? (tail call): ? user:/AddOns/FurnitureCatalogue/FurnitureCatalogue_DevUtility/ContextMenu.lua:5: in function '(main chunk)' |caaaaaa<Locals> UNITTAG_PLAYER = "player", this = [table:3]{} </Locals> Also, I sent this error on to Furniture Catalogue. If I can help further, let me know. I, of course, am grateful for all your efforts up until now, and will be in the future. (But if you quit today, I would still be thankful for all you have done so far). Thanks! |
![]() |
![]() |
Akopian Atrebates |
View Public Profile |
Send a private message to Akopian Atrebates |
Send email to Akopian Atrebates |
Find More Posts by Akopian Atrebates |
Add Akopian Atrebates to Your Buddy List |
![]() |
||
error
|
||
![]() |
![]() |
vecny.samotar |
View Public Profile |
Send a private message to vecny.samotar |
Send email to vecny.samotar |
Find More Posts by vecny.samotar |
Add vecny.samotar to Your Buddy List |
![]() |
|
Forum posts: 12
File comments: 41
Uploads: 0
|
Great. Thanks and something simple!!
|
![]() |
![]() |
MurkyMais |
View Public Profile |
Send a private message to MurkyMais |
Send email to MurkyMais |
Find More Posts by MurkyMais |
Add MurkyMais to Your Buddy List |
![]() |
||
It looks like waypoint it is calling the library incorrectly. Line 63 in WaypointIt/core/WaypointIt.lua should either be Lua Code:
Lua Code:
|
||
![]() |
![]() |
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 |
![]() |
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.