Add log aliases to make logging much easier to use (All FMT driven)

This commit is contained in:
Akkadius committed 2019-09-01 20:47:26 -05:00
1 parent db5e511af3
commit d3803045bc
41 files changed
+982 -536

No files matched your search

+2 -2
View File
@@ -94,7 +94,7 @@ void ZSList::KillAll() {
void ZSList::Process() {
if (shutdowntimer && shutdowntimer->Check()) {
Log(Logs::Detail, Logs::World_Server, "Shutdown timer has expired. Telling all zones to shut down and exiting. (fake sigint)");
Log(Logs::Detail, Logs::WorldServer, "Shutdown timer has expired. Telling all zones to shut down and exiting. (fake sigint)");
auto pack2 = new ServerPacket;
pack2->opcode = ServerOP_ShutdownAll;
pack2->size = 0;
@@ -570,7 +570,7 @@ void ZSList::RebootZone(const char* ip1, uint16 port, const char* ip2, uint32 sk
s->port = port;
s->zoneid = zoneid;
if (zoneid != 0)
Log(Logs::Detail, Logs::World_Server, "Rebooting static zone with the ID of: %i", zoneid);
Log(Logs::Detail, Logs::WorldServer, "Rebooting static zone with the ID of: %i", zoneid);
tmp[z]->SendPacket(pack);
delete pack;
safe_delete_array(tmp);