Skip to content

Commit

Permalink
- Adding extra info for Streamlabs Desktop debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Olivo committed Oct 8, 2024
1 parent d393567 commit 0a60de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MixItUp.Base/Services/External/StreamlabsDesktopService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private async Task<JObject> SendAndReceive(StreamlabsOBSRequest request)
using (NamedPipeClientStream namedPipeClient = new NamedPipeClientStream(ConnectionString))
{
string requestString = requestJObj.ToString(Formatting.None);
Logger.Log(requestString);
Logger.Log("Streamlabs Desktop packet sent - " + requestString);

byte[] requestBytes = Encoding.UTF8.GetBytes(requestString);

Expand Down Expand Up @@ -490,7 +490,7 @@ await Task.WhenAny(Task.Run(async () =>

if (result != null)
{
Logger.Log(result.ToString());
Logger.Log("Streamlabs Desktop packet recieved - " + result.ToString());
}

return result;
Expand Down

0 comments on commit 0a60de8

Please sign in to comment.