3 releases

0.1.2 Jul 11, 2024
0.1.1 Aug 31, 2022
0.1.0 Dec 14, 2019

#506 in Hardware support

Download history 3/week @ 2024-08-12 4/week @ 2024-08-26 4/week @ 2024-09-09 2/week @ 2024-09-16 8/week @ 2024-09-23 12/week @ 2024-09-30 28/week @ 2024-10-07 32/week @ 2024-10-14 36/week @ 2024-11-04 14/week @ 2024-11-18 13/week @ 2024-11-25

63 downloads per month

MIT license

7KB
95 lines

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");
}

Dependencies

~3MB
~24K SLoC