aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-06-25 20:50:29 +0200
committervaxerski <[email protected]>2022-06-25 20:50:29 +0200
commit316b49eee27c507a306e7bc60591f1cf430091cb (patch)
tree1d0c2971c546d1a9b77383669a21d0186e0dd568
parent8de8f6667e6a409635c3473824a2e6e0bf70ecf7 (diff)
downloadHyprland-316b49eee27c507a306e7bc60591f1cf430091cb.tar.gz
Hyprland-316b49eee27c507a306e7bc60591f1cf430091cb.zip
added log level info
-rw-r--r--src/debug/Log.cpp3
-rw-r--r--src/debug/Log.hpp3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp
index 559e7b79..a864f0d2 100644
--- a/src/debug/Log.cpp
+++ b/src/debug/Log.cpp
@@ -31,6 +31,9 @@ void Debug::log(LogLevel level, const char* fmt, ...) {
case CRIT:
ofs << "[CRITICAL] ";
break;
+ case INFO:
+ ofs << "[INFO] ";
+ break;
default:
break;
}
diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp
index 2a7ab425..814da421 100644
--- a/src/debug/Log.hpp
+++ b/src/debug/Log.hpp
@@ -8,7 +8,8 @@ enum LogLevel {
LOG = 0,
WARN,
ERR,
- CRIT
+ CRIT,
+ INFO
};
namespace Debug {