summaryrefslogtreecommitdiff
path: root/src/buildtool/logging/log_level.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/logging/log_level.hpp')
-rw-r--r--src/buildtool/logging/log_level.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/logging/log_level.hpp b/src/buildtool/logging/log_level.hpp
index 65b7b7c2..12e4af7f 100644
--- a/src/buildtool/logging/log_level.hpp
+++ b/src/buildtool/logging/log_level.hpp
@@ -17,12 +17,13 @@
#include <algorithm>
#include <cmath>
+#include <cstdint>
#include <string>
#include <type_traits>
#include "gsl/gsl"
-enum class LogLevel {
+enum class LogLevel : std::uint8_t {
Error, ///< Error messages, fatal errors
Warning, ///< Warning messages, recoverable situations that shouldn't occur
Info, ///< Informative messages, such as reporting status or statistics