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: | 37,953 |
Total downloads: | 2,803,684 |
Favorites: | 1,420 |
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 |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
mlucero582 |
View Public Profile |
Send a private message to mlucero582 |
Find More Posts by mlucero582 |
Add mlucero582 to Your Buddy List |
05/02/20, 03:30 PM | |
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 |
Find More Posts by Akopian Atrebates |
Add Akopian Atrebates to Your Buddy List |
04/16/20, 08:23 AM | ||
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 |
04/12/20, 05:53 PM | |
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 |
04/12/20, 04:10 AM | ||
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 |
04/11/20, 04:21 PM | |
Forum posts: 12
File comments: 41
Uploads: 0
|
You addon was helpful for getting logs and I appreciate your effort.
I was using this addon to help with some debugging with Baetram. I found this error with Circonians WaypointIt . A. Circonians WaypointIt works will all my addons when I remove LibDebugLogger B. All my addons work with LibDebugLogger when Circonians WaypointIt to not loaded C. Running only Circonians WaypointIt , DebugLogViewer and LibDebugLogger addons will create the message below. It happens immediately on /reloadui or on start up Recreate 1. Only have addons Circonians WaypointIt , DebugLogViewer and LibDebugLogger addons 2. Reloadui Invalid tag for logger stack traceback: [C]: in function 'assert' user:/AddOns/LibDebugLogger/Logger.lua:16: in function 'Logger:Initialize' <Locals> self = [table:1]{}, tag = [table:2]{ENTRY_MESSAGE_INDEX = 6, ENTRY_TIME_INDEX = 1, LOG_LEVEL_INFO = "I", UI_LOAD_START_TIME = 1586642897000, TAG_INGAME = "UI", LOG_LEVEL_WARNING = "W", ENTRY_OCCURENCES_INDEX = 3, CALLBACK_LOG_PRUNED = "LogPruned", ENTRY_TAG_INDEX = 5, LOG_LEVEL_DEBUG = "D", LOG_LEVEL_VERBOSE = "V", SESSION_START_TIME = 1586635350849, ENTRY_STACK_INDEX = 7, id = "LibDebugLogger", CALLBACK_LOG_CLEARED = "LogCleared", ENTRY_LEVEL_INDEX = 4, LOG_LEVEL_ERROR = "E", CALLBACK_LOG_ADDED = "LogAdded", ENTRY_FORMATTED_TIME_INDEX = 2} </Locals> user:/AddOns/LibDebugLogger/Logger.lua:11: in function 'Logger:New' <Locals> self = [table:3]{}, obj = [table:1] </Locals> (tail call): ? user:/AddOns/WaypointIt/core/WaypointIt.lua:63: in function '(main chunk)' <Locals> gps = [table:4]{suppressCount = 0, LIB_EVENT_STATE_CHANGED = "OnLibGPS2MeasurementChanged"}, LMP = [table:5]{MAP_PING_SET = 3, MAP_PING_NOT_SET = 0, MAP_PING_NOT_SET_PENDING = 1, MAP_PING_SET_PENDING = 2}, WaypointIt = [table:6]{}, ADDON_NAME = "WaypointIt", CODE_VERSION = "1.12.3", ROW_TYPE_ID = 1, INDEX_BUTTON = 1, INDEX_POOL_KEY = 2, INDEX_DESCRIPTOR = 3, MPLTYPE_POI = "poi", MPLTYPE_LOCATION = "loc", MPLTYPE_QUEST = "quest", MPLTYPE_AVA = "objective", MPLTYPE_KEEP = "keep", MPLTYPE_PINGS = "pings", MPLTYPE_KILL_LOCATION = "killLocation", MPLTYPE_FAST_TRAVEL_KEEP = "fastTravelKeep", MPLTYPE_FAST_TRAVEL_WAYSHRINE = "fastTravelWayshrine", MPLTYPE_FORWARD_CAMP = "forwardCamp", MPLTYPE_AVA_RESPAWN = "AvARespawn" </Locals> |
|
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 |
03/04/20, 02:22 PM | |
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 |
Find More Posts by Aevernia |
Add Aevernia to Your Buddy List |
03/02/20, 03:39 AM | ||
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 |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
03/01/20, 10:01 AM | |
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 |
Find More Posts by Aevernia |
Add Aevernia to Your Buddy List |
01/04/20, 05:08 PM | |
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 |
08/25/19, 10:17 AM | |
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 |
Visit IceHeart's homepage! |
Find More Posts by IceHeart |
Add IceHeart to Your Buddy List |
06/11/19, 04:46 AM | |
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 |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
06/11/19, 02:14 AM | ||
|
|
|
|
zelenin |
View Public Profile |
Send a private message to zelenin |
Send email to zelenin |
Visit zelenin's homepage! |
Find More Posts by zelenin |
Add zelenin to Your Buddy List |
05/20/19, 09:41 AM | |
|
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 |
Visit Rhyono's homepage! |
Find More Posts by Rhyono |
Add Rhyono 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.