Added a few more debug messages.

This commit is contained in:
Harrison Deng 2021-04-09 01:10:26 -05:00
parent 56e12ec22a
commit a44ad71f59

View File

@ -33,9 +33,11 @@ namespace GameServiceWarden.Core.UI
public void Open()
{
if (active) throw new InvalidOperationException("IPC already opened.");
Logger.Log($"IPCMediator with name \"{name}\" opened.");
active = true;
stopAcceptingToken = new CancellationTokenSource();
acceptTask = AcceptConnections();
Logger.Log($"IPCMediator \"{name}\" has begun asynchronously accepting interfaces.", LogLevel.DEBUG);
}
public void Close()