Thread Tools Display Modes
12/27/22, 08:23 PM   #1
dilokoesoui
Join Date: Dec 2022
Posts: 3
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 ?
  Reply With Quote
12/28/22, 03:46 AM   #2
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
CombatMetrics does that or example.

Basically you scan CHAT_SYSTEM.containers for a container and its window and post a message there.
  Reply With Quote
12/28/22, 05:28 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,971
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.

Last edited by Baertram : 12/28/22 at 05:30 AM.
  Reply With Quote
12/28/22, 10:31 AM   #4
dilokoesoui
Join Date: Dec 2022
Posts: 3
Hmm, understood...
Thanks for the help!
  Reply With Quote
12/28/22, 12:14 PM   #5
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 644
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.
  Reply With Quote
12/28/22, 03:23 PM   #6
dilokoesoui
Join Date: Dec 2022
Posts: 3
Originally Posted by Sharlikran View Post
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...
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Chat Output per Addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off