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

feat: enable debug logging #22

Merged
merged 1 commit into from
May 6, 2020
Merged

Conversation

bajtos
Copy link
Contributor

@bajtos bajtos commented May 6, 2020

Setup env_logger to allow users to enable debug logs, e.g. to troubleshoot #19.

Example use:

$ RUST_LOG=mastodon_twitter_sync=debug cargo run

See also

Setup env_logger to allow users to enable debug logs.
See also
- https://docs.rs/log/0.4.8/log/
- https://docs.rs/env_logger/0.7.1/env_logger/

Example use:

$ RUST_LOG=mastodon_twitter_sync=debug cargo run

Signed-off-by: Miroslav Bajtoš <[email protected]>
@klausi klausi merged commit 9f51464 into klausi:master May 6, 2020
@klausi
Copy link
Owner

klausi commented May 6, 2020

Makes sense, thank you very much!

@bajtos bajtos deleted the feat/debuglogs branch May 7, 2020 07:58
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.

2 participants