mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 22:05:58 +01:00
20 lines
No EOL
283 B
C++
20 lines
No EOL
283 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#define LOGMESSAGESIZE 1024
|
|
|
|
enum LogLevel {
|
|
NONE = -1,
|
|
LOG = 0,
|
|
WARN,
|
|
ERR,
|
|
CRIT,
|
|
INFO
|
|
};
|
|
|
|
namespace Debug {
|
|
void init(std::string IS);
|
|
void log(LogLevel level, const char* fmt, ...);
|
|
|
|
inline std::string logFile;
|
|
}; |