Skip to main content

init_from_env

Function init_from_env 

Source
pub fn init_from_env() -> &'static EspIdfLogger<()>
Expand description

Initialize the Rust logging system with the ESP-IDF logger and with the noop log filter backend (i.e. logging verbosity is controlled by the RUST_LOG environment variable).

This function reads the RUST_LOG environment variable to determine the log level.