com_logger

Crates.iocom_logger
lib.rscom_logger
version0.1.2
sourcesrc
created_at2019-12-14 00:15:11.55972
updated_at2024-07-11 23:15:15.444261
descriptionSerial port logger through COM ports
homepagehttps://github.com/yushiomote/com_logger
repositoryhttps://github.com/yushiomote/com_logger
max_upload_size
id189232
size9,318
Yushi OMOTE (YushiOMOTE)

documentation

https://docs.rs/com_logger

README

com_logger

Latest version Documentation License Actions Status

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");
}
Commit count: 35

cargo fmt