Skip to main content

Module log

Module log 

Source
Expand description

Handles the conversion of defmt frames to log messages (as strings).

Also provides interoperability utilities between defmt and the log crate.

If you are implementing a custom defmt decoding tool, this module can make it easier to integrate it with logs produced with the log crate.

Modules§

format

Structs§

DefmtLoggerConfig

Enums§

DefmtLoggerType

Functions§

init_logger
Initializes a log sink that handles defmt frames.
is_defmt_frame
Determines whether metadata belongs to a log record produced by log_defmt.
log_defmt
Logs a defmt frame using the log facade.