Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User ILogger rather than Debug.Print #48

Open
KeithHenry opened this issue Feb 16, 2023 · 1 comment
Open

User ILogger rather than Debug.Print #48

KeithHenry opened this issue Feb 16, 2023 · 1 comment

Comments

@KeithHenry
Copy link

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.

@Baklap4
Copy link

Baklap4 commented Mar 10, 2023

Even better, ILogger through DI

Might be blocked by #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants