pub fn init()Expand description
Initialize log level from RUST_LOG environment variable.
This is a convenience wrapper around init_from_env("RUST_LOG", default).
Follows the common Rust convention of using RUST_LOG for log level configuration.
ยงExamples
use lean_log::Level;
// Check RUST_LOG env var, default to Info if not set
lean_log::init();
// Or with custom default:
lean_log::init_with_default(Level::Warn);