mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-28 05:04:40 +03:00
added log level info
This commit is contained in:
parent
8de8f6667e
commit
316b49eee2
@ -31,6 +31,9 @@ void Debug::log(LogLevel level, const char* fmt, ...) {
|
||||
case CRIT:
|
||||
ofs << "[CRITICAL] ";
|
||||
break;
|
||||
case INFO:
|
||||
ofs << "[INFO] ";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -8,7 +8,8 @@ enum LogLevel {
|
||||
LOG = 0,
|
||||
WARN,
|
||||
ERR,
|
||||
CRIT
|
||||
CRIT,
|
||||
INFO
|
||||
};
|
||||
|
||||
namespace Debug {
|
||||
|
Loading…
Reference in New Issue
Block a user