void syten::EnvVars::init_env_bool | ( | char const * | name, |
bool & | target, | ||
std::string const & | msg = "" |
||
) |
Sets target
to true if name
is a set environment variables, if msg
is non-zero, then also prints msg
.
References std::getenv(), and syten::logGI().
Referenced by init_env_vars().