Files
hyprland/src/debug/Log.hpp
2022-06-03 17:48:07 +02:00

19 lines
273 B
C++

#pragma once
#include <string>
#define LOGMESSAGESIZE 1024
enum LogLevel {
NONE = -1,
LOG = 0,
WARN,
ERR,
CRIT
};
namespace Debug {
void init(std::string IS);
void log(LogLevel level, const char* fmt, ...);
inline std::string logFile;
};