Crate defmt_logger_tcp

Source
Expand description

§A defmt logger that sends logs over TCP.

§Usage

use defmt::info;
use std::thread;

thread::spawn(|| {
    defmt_logger_tcp::init().unwrap();
});

info!("Hello, world!");

Functions§

  • Initialize the logger, and start listening for connections on localhost:19021.