diff options
author | vaxerski <[email protected]> | 2022-06-25 20:50:29 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-06-25 20:50:29 +0200 |
commit | 316b49eee27c507a306e7bc60591f1cf430091cb (patch) | |
tree | 1d0c2971c546d1a9b77383669a21d0186e0dd568 | |
parent | 8de8f6667e6a409635c3473824a2e6e0bf70ecf7 (diff) | |
download | Hyprland-316b49eee27c507a306e7bc60591f1cf430091cb.tar.gz Hyprland-316b49eee27c507a306e7bc60591f1cf430091cb.zip |
added log level info
-rw-r--r-- | src/debug/Log.cpp | 3 | ||||
-rw-r--r-- | src/debug/Log.hpp | 3 |
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 { |