mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 08:45:58 +01:00
added log level info
This commit is contained in:
parent
8de8f6667e
commit
316b49eee2
2 changed files with 5 additions and 1 deletions
|
@ -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 a new issue