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

Unit tests don't initialize env_logger #8309

Open
Ms2ger opened this issue Nov 3, 2015 · 3 comments
Open

Unit tests don't initialize env_logger #8309

Ms2ger opened this issue Nov 3, 2015 · 3 comments
Labels

Comments

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Nov 3, 2015

So RUST_LOG doesn't work. Not sure about the best solution.

@Ms2ger
Copy link
Contributor Author

@Ms2ger Ms2ger commented Nov 3, 2015

@jdm jdm added the A-testing label Nov 3, 2015
@alexcrichton
Copy link
Contributor

@alexcrichton alexcrichton commented Nov 3, 2015

This basically just involves calling env_logger::init at the start of a test case you'd like to log.

@Ms2ger
Copy link
Contributor Author

@Ms2ger Ms2ger commented Nov 4, 2015

Which is pain to do in every test.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.