View Full Version : [SOLVED] [Help] Trinitycore Logging for Dummies

12-11-2013, 05:39 PM
So... i'm kind of stuck with the "new" Trinitycore Logging System, i just want to add GM.log and Arena.log but i don't get how...

So I was doing some research on the Trinitycore Forums but not even the Devs there know how does this system works and some of them want to revert the commit.

So... could somebody here explain a little bit this system or just give some examples? Thanks ^^

12-11-2013, 07:03 PM
The commit should be reverted, honestly. There was nothing wrong with using enumerator data types. They were simple and straight forward, now you have to worry about typos, etc. I made a list on another thread on what is what:

LOG_FILTER_NETWORKIO = "network" (with quotations)
LOG_FILTER_GENERAL = "misc" (with quotations)
LOG_FILTER_CHARACTER = "entities.player.character" (with quotations)
LOG_FILTER_PLAYER_DUMP = "entities.player.dump" (with quotations)
LOG_FILTER_PLAYER_ITEMS = "entities.player.items" (with quotations)
LOG_FILTER_LOOT = "loot" (with quotations)
LOG_FILTER_SERVER_LOADING = "server.loading" (with quotations)
AUTHSERVER = "server.authserver" (with quotations)
SQL = "sql.sql" (with quotations)
ARENA = "bg.arena" (with quotations)
CHAT_SYSTEM = "chat.system" (with quotations)

I believe what you're looking for is:

Logging Characters (GMS) = "entities.player.character"
Logging Arena = "bg.arena"