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:
@@ -100,7 +100,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
conn.Dispose();
|
||||
}
|
||||
|
||||
Program.Log.Sql(String.Format("CID={0} created on 'characters' table.", cid));
|
||||
Program.Log.Debug("[SQL] CID={0} created on 'characters' table.", cid);
|
||||
}
|
||||
|
||||
return alreadyExists;
|
||||
@@ -242,7 +242,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
|
||||
}
|
||||
|
||||
Program.Log.Sql(String.Format("CID={0} state updated to active(2).", cid));
|
||||
Program.Log.Debug("[SQL] CID={0} state updated to active(2).", cid);
|
||||
}
|
||||
|
||||
public static bool renameCharacter(uint userId, uint characterId, uint serverId, String newName)
|
||||
@@ -286,7 +286,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
conn.Dispose();
|
||||
}
|
||||
|
||||
Program.Log.Sql(String.Format("CID={0} name updated to \"{1}\".", characterId, newName));
|
||||
Program.Log.Debug("[SQL] CID={0} name updated to \"{1}\".", characterId, newName);
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -320,7 +320,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
}
|
||||
}
|
||||
|
||||
Program.Log.Sql(String.Format("CID={0} deleted.", characterId));
|
||||
Program.Log.Debug("[SQL] CID={0} deleted.", characterId);
|
||||
}
|
||||
|
||||
public static List<World> getServers()
|
||||
|
Reference in New Issue
Block a user