Move worldserver logging ot use LogInfo

This commit is contained in:
Akkadius
2019-09-01 22:53:23 -05:00
parent 678c25e02c
commit be291d58b0
11 changed files with 194 additions and 196 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ void ZSList::KillAll() {
void ZSList::Process() {
if (shutdowntimer && shutdowntimer->Check()) {
Log(Logs::Detail, Logs::WorldServer, "Shutdown timer has expired. Telling all zones to shut down and exiting. (fake sigint)");
LogInfo("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::WorldServer, "Rebooting static zone with the ID of: %i", zoneid);
LogInfo("Rebooting static zone with the ID of: [{}]", zoneid);
tmp[z]->SendPacket(pack);
delete pack;
safe_delete_array(tmp);