ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   Chat Output per Addon (https://www.esoui.com/forums/showthread.php?t=10396)

dilokoesoui 12/27/22 08:23 PM

Chat Output per Addon
 
Have any addon or any way to change the output message of a addon in the chat?
I know actually most of addons write in the "system" category, do you guys knows if we can set a addon to write on tab A and other on tab B ?

votan 12/28/22 03:46 AM

CombatMetrics does that or example.

Basically you scan CHAT_SYSTEM.containers for a container and its window and post a message there.

Baertram 12/28/22 05:28 AM

But there is no way to tell addon1 to do this and addon2 to do that without implementing this to "each of those addons themselves"!

So no, there is no "addon" which helps you to output chat messages of other addons to dedicated chat channels or tabs. This would only work if the one addon aiming for that goal would overwrite the other addons' chat message handling in total (and most likely will break them or any compatibile addons this way).

Addons can use LibDebugLogger to add info, warning or debug messages behind a dedicated addon related "short key".
LibDebugLogger will log those messages then and you can use the extra UI addon DebugLogViewer to see and filter the addon related messages beside the chat (in a small quick logegr UI or a bigger UI with filters).

Side effect: All addon d() (debug messages) which normally are shown at the "system" chat channel won't be shown in the normal chat anymore but at the DebugLogViewer UI then!

But this also needs those addons to implement LibDebugLogger and it's messages, at each addon.

dilokoesoui 12/28/22 10:31 AM

Hmm, understood...
Thanks for the help!

Sharlikran 12/28/22 12:14 PM

Also some authors use the behind the scenes LibDebugLogger messages so they can better determine when something fails. If users attempt to use any kind of viewer in order to push or force messages into another window then they will see more messages then they are trying to prevent.

The intention of viewers for LibDebugLogger is for troubleshooting and authors not for users to use as a separate window in order to avoid messages going to chat and cluttering their chat window.

dilokoesoui 12/28/22 03:23 PM

Quote:

Originally Posted by Sharlikran (Post 46914)
Also some authors use the behind the scenes LibDebugLogger messages so they can better determine when something fails. If users attempt to use any kind of viewer in order to push or force messages into another window then they will see more messages then they are trying to prevent.

The intention of viewers for LibDebugLogger is for troubleshooting and authors not for users to use as a separate window in order to avoid messages going to chat and cluttering their chat window.

Also good to know...


All times are GMT -6. The time now is 04:19 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI