zephyr::logging

Function set_logger

source
pub unsafe fn set_logger() -> Result<(), SetLoggerError>
Expand description

Set the log handler to log messages through printk in Zephyr.

This is unsafe due to racy issues in the log framework on targets that do not support atomic pointers.