Hyprland/src/debug/Log.hpp

16 lines
209 B
C++
Raw Normal View History

2022-03-16 20:50:55 +01:00
#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, ...);
};