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

Discuss the usage of the log crate #344

Open
tgross35 opened this issue Jan 28, 2023 · 2 comments
Open

Discuss the usage of the log crate #344

tgross35 opened this issue Jan 28, 2023 · 2 comments

Comments

@tgross35
Copy link

It would likely be good to point out in this book that log works in no_std environments, and can have handlers for RTT, semihosting, ITM, UART, etc.

Imho this is kind of important and isn't mentioned anywhere. It's much nicer for supporting crates to just use the log macro and allow the parent binary crate to determine how they should be printed.

@eldruin
Copy link
Member

eldruin commented Jan 30, 2023

Sounds like a good idea. Would you make a proposal PR?

@tgross35
Copy link
Author

Sure, I'll try to do that sometime in the near future.

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

2 participants