badal 1.1.0

Badal — weather and atmospheric modeling engine
Documentation
1
2
3
4
5
6
7
8
/// Initialize tracing subscriber using `BADAL_LOG` env var (defaults to `warn`).
///
/// Safe to call multiple times — silently succeeds if a subscriber is already set.
pub fn init() {
    use tracing_subscriber::EnvFilter;
    let filter = EnvFilter::try_from_env("BADAL_LOG").unwrap_or_else(|_| EnvFilter::new("warn"));
    let _ = tracing_subscriber::fmt().with_env_filter(filter).try_init();
}