3 releases
0.1.2 | Jul 11, 2024 |
---|---|
0.1.1 | Aug 31, 2022 |
0.1.0 | Dec 14, 2019 |
#477 in Hardware support
69 downloads per month
7KB
95 lines
com_logger
Serial port logger through COM ports.
- Doesn't require
std
(no_std
) - Doesn't require
alloc
use log::*;
fn main() {
com_logger::init();
info!("Starting");
}
Configuration
use log::*;
fn main() {
com_logger::builder()
.base(0x2f8) // Use COM2 port
.filter(LevelFilter::Debug) // Print debug log
.setup();
debug!("Hello");
}
Dependencies
~3MB
~24K SLoC