init_with_level

Function init_with_level 

Source
pub fn init_with_level(level: &str)
Expand description

Initialize logging with a specific level.

§Example

use prax_query::logging;

// Enable trace-level logging
logging::init_with_level("trace");

§Safety

This function modifies environment variables, which is unsafe in multi-threaded programs. Call this early in your program before spawning threads.