[−][src]Function slog_env_cfg::log_format_from_env_with_default
pub fn log_format_from_env_with_default(
key: &str,
default: LogFormat
) -> Result<LogFormat, LogFormatFromEnvWithDefaultError>
Build LogFormat from env, or return default if the env value is not set.