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

docs: add example of initializing the logger from a unit test #87

Closed
pnkfelix opened this issue Jul 2, 2016 · 2 comments
Closed

docs: add example of initializing the logger from a unit test #87

pnkfelix opened this issue Jul 2, 2016 · 2 comments

Comments

@pnkfelix
Copy link
Member

pnkfelix commented Jul 2, 2016

Since I do not expect rust-lang/rfcs#1664 to be addressed in the short term, it would be a good idea to update the docs for env_logger to include an example usage on a few #[test] functions in addition to the current fn main.

(That is, I think the current docs leave a lot up to the intutition of the reader in terms of understanding how to generalize that one use of env_logger to other contexts.)

@dtolnay
Copy link
Member

dtolnay commented May 13, 2017

Looks like this was added to the readme in #56. It still needs to be added to env_logger's documentation.

@sfackler
Copy link
Member

env_logger has moved out of tree.

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

3 participants