added nlog logging (todo: custom logger for packets)

This commit is contained in:
Tahir Akhlaq 2016-06-14 05:09:30 +01:00
parent c5516511b0
commit ed0a0a58f7
36 changed files with 5430 additions and 310 deletions

View file

@ -68,7 +68,7 @@ namespace FFXIVClassic_Map_Server.Actors
{
if (bitIndex >= 32)
{
Program.Log.Error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
Program.Log.Error("Tried to access bit flag >= 32 for questId: {0}", actorId);
return;
}
@ -86,7 +86,7 @@ namespace FFXIVClassic_Map_Server.Actors
{
if (bitIndex >= 32)
{
Program.Log.Error(String.Format("Tried to access bit flag >= 32 for questId: {0}", actorId));
Program.Log.Error("Tried to access bit flag >= 32 for questId: {0}", actorId);
return false;
}
else