Update Cryville.Common.Logging.
This commit is contained in:
@@ -13,7 +13,6 @@ using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using UnityEngine;
|
||||
using Logger = Cryville.Common.Logging.Logger;
|
||||
using ThreadPriority = System.Threading.ThreadPriority;
|
||||
|
||||
namespace Cryville.Crtr.Network {
|
||||
@@ -39,10 +38,10 @@ namespace Cryville.Crtr.Network {
|
||||
void ThreadLogic() {
|
||||
try {
|
||||
CheckVersion();
|
||||
Logger.Log("main", 0, "Network", "Update checker exited normally");
|
||||
Game.MainLogger.Log(0, "Network", "Update checker exited normally");
|
||||
}
|
||||
catch (Exception ex) {
|
||||
Logger.Log("main", 4, "Network", "An error occurred while checking for update: {0}", ex);
|
||||
Game.MainLogger.Log(4, "Network", "An error occurred while checking for update: {0}", ex);
|
||||
Dialog.Show(null, "Failed to check for update.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user