Fixes Console.WriteInfo/Warning being swapped

This commit is contained in:
Cyberboss
2017-11-13 11:53:20 -05:00
parent a0e2bca1cd
commit 56ba2b3ba2
3 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -61,13 +61,13 @@ namespace TGS.Server.Console
/// <inheritdoc />
public void WriteInfo(string message, EventID id, byte loggingID)
{
System.Console.WriteLine(String.Format("[{0}]: {1}-{3}: Warning: {2}", DateTime.UtcNow.ToString(), id, message, loggingID));
System.Console.WriteLine(String.Format("[{0}]: {1}-{3}: {2}", DateTime.UtcNow.ToString(), id, message, loggingID));
}
/// <inheritdoc />
public void WriteWarning(string message, EventID id, byte loggingID)
{
System.Console.WriteLine(String.Format("[{0}]: {1}-{3}: {2}", DateTime.UtcNow.ToString(), id, message, loggingID));
System.Console.WriteLine(String.Format("[{0}]: {1}-{3}: Warning: {2}", DateTime.UtcNow.ToString(), id, message, loggingID));
}
}
}
+1
View File
@@ -28,6 +28,7 @@
/// <param name="id">The <see cref="EventID"/> of the message</param>
/// <param name="loggingID">The 0-99 ID of the log source</param>
void WriteWarning(string message, EventID id, byte loggingID);
/// <summary>
/// Writes an access event to the log
/// </summary>
+7
View File
@@ -45,6 +45,13 @@ Copy-Item "$bf\TGS.ControlPanel\bin\Release\TGControlPanel.exe" "$src3\TGControl
Copy-Item "$bf\TGS.ControlPanel\bin\Release\Octokit.dll" "$src3\Octokit.dll"
Copy-Item "$bf\TGS.Interface\bin\Release\TGServiceInterface.dll" "$src3\TGServiceInterface.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server\bin\Release\TGS.Server.dll" "$src3\TGS.Server.dll"
Copy-Item "$bf\TGS.Server.Console\bin\Release\TGS.Server.Console.exe" "$src3\TGS.Server.Console.exe"
$dest3 = "$bf\TGS3-ServerConsole-v$version.zip"