Skip to content
Snippets Groups Projects
Commit 28cc18d2 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[lib/env] Remove noisy DBG statement

That debug statement is noisy, as it is emitted all the time,
irregardless whether or not the environment variable is set.
parent e96374cd
No related branches found
No related tags found
1 merge request!314[Runtime] Move EMPER_* environment variable handling into module
......@@ -10,7 +10,6 @@
namespace emper::lib::env {
static auto getBoolFromEnv(const std::string& key) -> std::optional<bool> {
DBG("parse " << key << " environment variable");
char* envVar = std::getenv(key.c_str());
if (!envVar) {
return std::nullopt;
......@@ -30,7 +29,6 @@ static auto getBoolFromEnv(const std::string& key) -> std::optional<bool> {
template <typename unsigned_type>
static auto getUnsignedFromEnv(const std::string& key) -> std::optional<unsigned_type> {
DBG("parse " << key << " environment variable");
char* envVar = std::getenv(key.c_str());
if (!envVar) {
return std::nullopt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment