Linloir 830522ef79
[UI][FIX] Fix direction light setting
- fix dir light not turning off
- fix dir light direction slider malfunctioning
2022-12-20 12:27:04 +08:00

23 lines
507 B
C++

#pragma once
#include <iostream>
#define LOCALLOGLEVEL INFO
class Logger {
public:
enum LogLevel { DEBUG, INFO, WARNING, ERR };
private:
static LogLevel _level;
static std::string _previous;
public:
static void setLogLevel(LogLevel level);
static void log(LogLevel level, std::string message);
static void debug(std::string message);
static void info(std::string message);
static void warning(std::string message);
static void error(std::string message);
};