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

Log feature: optional logging #43

Merged
merged 1 commit into from
Jan 26, 2018
Merged

Log feature: optional logging #43

merged 1 commit into from
Jan 26, 2018

Conversation

dhardy
Copy link
Owner

@dhardy dhardy commented Nov 10, 2017

Implement #39

I'm not very happy with this code.

Maybe there should be some code to log error details including causes somewhere? Or format to one long string? (But I think it's better to output each cause separately.)

I could probably get rid of all the #[cfg(feature="log")] by re-implementing warn and other macros locally (extra boilerplate in lib.rs).

I'm also not sure how many details to print when we just delay or skip reseeding.

@dhardy
Copy link
Owner Author

dhardy commented Jan 15, 2018

Updated; this time I think it's ready for merge.

@dhardy dhardy changed the title Log feature: optional logging (first pass) Log feature: optional logging Jan 15, 2018
@dhardy dhardy merged commit a1b25f6 into master Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant