Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Initialize the global logger.

Must be called after esp_rtos::start() (uptime timestamps need the embassy time driver). The max level comes from the LOG_LEVEL env var baked in by build.rs (debug profile: debug, release profile: info).