Crates.io | com_logger |
lib.rs | com_logger |
version | 0.1.2 |
source | src |
created_at | 2019-12-14 00:15:11.55972 |
updated_at | 2024-07-11 23:15:15.444261 |
description | Serial port logger through COM ports |
homepage | https://github.com/yushiomote/com_logger |
repository | https://github.com/yushiomote/com_logger |
max_upload_size | |
id | 189232 |
size | 9,318 |
Serial port logger through COM ports.
std
(no_std
)alloc
use log::*;
fn main() {
com_logger::init();
info!("Starting");
}
use log::*;
fn main() {
com_logger::builder()
.base(0x2f8) // Use COM2 port
.filter(LevelFilter::Debug) // Print debug log
.setup();
debug!("Hello");
}