summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorxDarksome <dev@darkso.me>2022-06-26 19:20:20 +0300
committerGitHub <noreply@github.com>2022-06-26 19:20:20 +0300
commit504f76112aec3625f2d67f9289a48a01bc90cb50 (patch)
treef3a4c5176a2d8f1954a7632b542f829e994c8529 /src/debug
parentbe460ea9547691eb136bf8b600b67b778af47e3f (diff)
parentf1a5cb4979f312f56967888c2b1b6d2aa535bb9e (diff)
Merge branch 'hyprwm:main' into main
Diffstat (limited to 'src/debug')
-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 {