Skip to main content

flat_env_string

Function flat_env_string 

Source
pub fn flat_env_string(prefix: &str, suffix: &str) -> Option<String>
Expand description

Read a flat env var {PREFIX}_{SUFFIX} as a String.

Returns None if the variable is unset or empty. Logs at debug level when an override is applied.