Cleaned up LogFile and ByteArrayToHex utils.

This commit is contained in:
deviltti
2016-06-10 19:58:01 -04:00
parent 8b93abe86e
commit 1c712c7533
31 changed files with 409 additions and 405 deletions

View File

@@ -89,9 +89,9 @@ namespace FFXIVClassic_Map_Server.Actors
}
}
catch(FileNotFoundException e)
{ Log.error("Could not find staticactors file."); return false; }
{ Log.Error("Could not find staticactors file."); return false; }
Log.info(String.Format("Loaded {0} static actors.", mStaticActors.Count()));
Log.Info(String.Format("Loaded {0} static actors.", mStaticActors.Count()));
return true;
}

View File

@@ -238,7 +238,7 @@ namespace FFXIVClassic_Map_Server.Actors
}
catch (MySqlException e)
{
Log.error(e.ToString());
Log.Error(e.ToString());
}
finally
{

View File

@@ -642,7 +642,7 @@ namespace FFXIVClassic_Map_Server.Actors
Database.savePlayerPlayTime(this);
Database.savePlayerPosition(this);
Log.info(String.Format("{0} has been logged out and saved.", this.customDisplayName));
Log.Info(String.Format("{0} has been logged out and saved.", this.customDisplayName));
}
public Area getZone()

View File

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