Skip to content

Make defmt-logger more configurable, remove probe-run strings#376

Merged
bors[bot] merged 8 commits intoknurling-rs:mainfrom
jonas-schievink:reduce-logger-crate
Feb 12, 2021
Merged

Make defmt-logger more configurable, remove probe-run strings#376
bors[bot] merged 8 commits intoknurling-rs:mainfrom
jonas-schievink:reduce-logger-crate

Conversation

@jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Feb 8, 2021

This refactors defmt-logger so that it does not make decisions about what data to include. It adds more API surface that can be used to write custom loggers, and removes any assumptions about being used by probe-run from the existing logger.

Closes #356

@jonas-schievink jonas-schievink changed the title Reduce defmt-logger to conversion utils Make defmt-logger more configurable, remove probe-run strings Feb 9, 2021
@jonas-schievink jonas-schievink added the pr waits on: review Pull Request is waiting on review label Feb 10, 2021
Otherwise we'd duplicate this code both in probe-run and in defmt-print
@jonas-schievink
Copy link
Contributor Author

bors r=Lotterleben

@bors
Copy link
Contributor

bors bot commented Feb 12, 2021

Build succeeded:

@bors bors bot merged commit dfee46d into knurling-rs:main Feb 12, 2021
@jonas-schievink jonas-schievink deleted the reduce-logger-crate branch February 12, 2021 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr waits on: review Pull Request is waiting on review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

logger: don't eat all logs that don't match "probe-run"

2 participants