Skip to content

Commit

Permalink
use macro
Browse files Browse the repository at this point in the history
  • Loading branch information
vuule committed Feb 6, 2023
1 parent 0e95828 commit 498ac21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/io/utilities/config_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ T getenv_or(std::string_view env_var_name, T default_val)
{
auto const env_val = std::getenv(env_var_name.data());
if (env_val != nullptr) {
logger().debug("Environment variable {} read as {}", env_var_name, env_val);
CUDF_LOG_INFO("Environment variable {} read as {}", env_var_name, env_val);
} else {
logger().debug(
CUDF_LOG_INFO(
"Environment variable {} is not set, using default value {}", env_var_name, default_val);
}

Expand Down

0 comments on commit 498ac21

Please sign in to comment.