mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
added nlog logging (todo: custom logger for packets)
This commit is contained in:
1 parent
c5516511b0
commit
ed0a0a58f7
36 files changed
+5430
-310
No files matched your search
@@ -91,7 +91,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
catch(FileNotFoundException e)
|
||||
{ Program.Log.Error("Could not find staticactors file."); return false; }
|
||||
|
||||
Program.Log.Info(String.Format("Loaded {0} static actors.", mStaticActors.Count()));
|
||||
Program.Log.Info("Loaded {0} static actors.", mStaticActors.Count());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -642,7 +642,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
Database.savePlayerPlayTime(this);
|
||||
Database.savePlayerPosition(this);
|
||||
|
||||
Program.Log.Info(String.Format("{0} has been logged out and saved.", this.customDisplayName));
|
||||
Program.Log.Info("{0} has been logged out and saved.", this.customDisplayName);
|
||||
}
|
||||
|
||||
public Area getZone()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user