usecrate::cli;pubfninit_logger(){let env =env_logger::Env::default().filter(cli::defaults::READSTOR_LOG);env_logger::init_from_env(env);}/// Returns a `bool` representing if the application is being developed or not.
/// The state is determined by whether or not an environment variable is set.
/// See [`cli::defaults::READSTOR_DEV`] for more information.
pubfnis_development_env()->bool{matchstd::env::var_os(cli::defaults::READSTOR_DEV){// Ensures that if the variable exists but is an empty, the function
// will return false.
Some(value)=>!value.is_empty(),None=>false,}}