mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-21 18:15:59 +02:00
added nlog logging (todo: custom logger for packets)
This commit is contained in:
parent
c5516511b0
commit
ed0a0a58f7
36 changed files with 5430 additions and 310 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue