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

AddXunitOutput for logging is not available. #104

Closed
brandonh-msft opened this issue Dec 1, 2023 · 1 comment
Closed

AddXunitOutput for logging is not available. #104

brandonh-msft opened this issue Dec 1, 2023 · 1 comment

Comments

@brandonh-msft
Copy link

I'm using v 8.9.0 of the library, and I cannot configure logging for the Xunit TestOutput target as shown in docs & samples:

image

@WeihanLi
Copy link
Contributor

WeihanLi commented Dec 2, 2023

The logging feature is in the package Xunit.DependencyInjection.Logging https://www.nuget.org/packages/Xunit.DependencyInjection.Logging

and for AspNetCoreTesting you need a reference for the Xunit.DependencyInjection.AspNetCoreTesting package
https://www.nuget.org/packages/Xunit.DependencyInjection.AspNetCoreTesting

@brandonh-msft brandonh-msft closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
@brandonh-msft brandonh-msft reopened this Dec 2, 2023
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