Skip to content

Add some more examples for configuring env_logger #133

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

Merged
merged 2 commits into from
May 27, 2019

Conversation

KodrAus
Copy link
Collaborator

@KodrAus KodrAus commented May 27, 2019

It looks like a lot of folks are trying to set the RUST_LOG environment variable directly when configuring env_logger's filters. We don't actually need to do this anymore, we can use the Env type or filters from code instead.

This PR just adds a link pointing to our examples and an example of using a builder instead of an environment variable.

@KodrAus KodrAus merged commit 89bcabf into rust-cli:master May 27, 2019
@KodrAus KodrAus deleted the chore/more-config-examples branch May 27, 2019 00:26
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

Successfully merging this pull request may close these issues.

1 participant