The logger is a central components in my opinion. The first step would be to look for good logging frameworks. Maybe make it possible to easily swap the loggers. fern and defmt look very promissing.
Ideally, it should be possible to reroute logging output to file only. This makes it possible to use logging output even if a mission has already launched and the console is unavailable. Maybe something like a log dispatcher which takes a formatted string and sends it to whatever log mechanism the user implements (which can also include file logging)
Look into a log dispatcher implementation
Check loggers like fern or defmt and the viability of using them in the log dispatcher
Some additional research:
There seem to be three major logging frameworks
slog
fern
log4rs
It would be interesting to check which ones are best suited for larger systems with a full runtime.
The logger is a central components in my opinion. The first step would be to look for good logging frameworks. Maybe make it possible to easily swap the loggers. [fern](https://docs.rs/fern/latest/fern/) and [defmt](https://github.com/knurling-rs/defmt) look very promissing.
Ideally, it should be possible to reroute logging output to file only. This makes it possible to use logging output even if a mission has already launched and the console is unavailable. Maybe something like a log dispatcher which takes a formatted string and sends it to whatever log mechanism the user implements (which can also include file logging)
- [ ] Look into a log dispatcher implementation
- [ ] Check loggers like fern or defmt and the viability of using them in the log dispatcher
Some additional research:
There seem to be three major logging frameworks
- [ ] slog
- [ ] fern
- [ ] log4rs
It would be interesting to check which ones are best suited for larger systems with a full runtime.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The logger is a central components in my opinion. The first step would be to look for good logging frameworks. Maybe make it possible to easily swap the loggers. fern and defmt look very promissing.
Ideally, it should be possible to reroute logging output to file only. This makes it possible to use logging output even if a mission has already launched and the console is unavailable. Maybe something like a log dispatcher which takes a formatted string and sends it to whatever log mechanism the user implements (which can also include file logging)
Some additional research:
There seem to be three major logging frameworks
It would be interesting to check which ones are best suited for larger systems with a full runtime.
muellerr referenced this issue2022-08-29 10:38:51 +02:00
It looks like the framework will just use the regular logging facade.
defmtis too specific for embedded systems.