mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-02 11:25:57 +01:00
16 lines
209 B
C++
16 lines
209 B
C++
|
#pragma once
|
||
|
#include <string>
|
||
|
|
||
|
#define LOGMESSAGESIZE 1024
|
||
|
|
||
|
enum LogLevel {
|
||
|
NONE = -1,
|
||
|
LOG = 0,
|
||
|
WARN,
|
||
|
ERR,
|
||
|
CRIT
|
||
|
};
|
||
|
|
||
|
namespace Debug {
|
||
|
void log(LogLevel level, const char* fmt, ...);
|
||
|
};
|