summaryrefslogtreecommitdiff
path: root/test/utils/logging/log_config.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:34:56 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commitc9325cea0aa43f328644157dee4eafe3d7b45e6f (patch)
tree7c688b9cfd8acf45771193f41d69639f9a47dfab /test/utils/logging/log_config.hpp
parent0e024eb055e6e8272f419e898ae9eefd0085c34f (diff)
downloadjustbuild-c9325cea0aa43f328644157dee4eafe3d7b45e6f.tar.gz
Name local variables using lower_case
...and private members using lower_case_
Diffstat (limited to 'test/utils/logging/log_config.hpp')
-rw-r--r--test/utils/logging/log_config.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/logging/log_config.hpp b/test/utils/logging/log_config.hpp
index 816e73b9..3b920917 100644
--- a/test/utils/logging/log_config.hpp
+++ b/test/utils/logging/log_config.hpp
@@ -24,8 +24,8 @@
#include "src/buildtool/logging/log_sink_cmdline.hpp"
static auto ReadLogLevelFromEnv() -> LogLevel {
- LogLevel const kDefaultTestLogLevel{LogLevel::Error};
- LogLevel const kMaximumTestLogLevel{LogLevel::Trace};
+ static constexpr LogLevel kDefaultTestLogLevel = LogLevel::Error;
+ static constexpr LogLevel kMaximumTestLogLevel = LogLevel::Trace;
auto log_level{kDefaultTestLogLevel};