Debug.Print is used to log information messages:
|
Debug.Print($"Issue parsing metadata of OpenAi Response. Url: {url}, Error: {e.ToString()}, Response: {resultAsString}. This is probably ignorable."); |
.NET has strong built in logging that you can use with a dependency injected ILogger.