env_filter_directive!() { /* proc-macro */ }Expand description
Generates the directive string for tracing_subscriber::filter::EnvFilter
based on CARGO_PKG_NAME and CARGO_BIN_NAME at the specified log level.
ยงExample
use ts_init::prelude::*;
let directive = env_filter_directive!("info");
assert_eq!(directive, "ts_init=info");