Move logger into util/log.h
This commit is contained in:
@@ -23,28 +23,12 @@
|
||||
|
||||
namespace logid
|
||||
{
|
||||
enum LogLevel
|
||||
{
|
||||
RAWREPORT,
|
||||
DEBUG,
|
||||
INFO,
|
||||
WARN,
|
||||
ERROR
|
||||
};
|
||||
|
||||
extern LogLevel global_verbosity;
|
||||
|
||||
void log_printf(LogLevel level, const char* format, ...);
|
||||
|
||||
const char* level_prefix(LogLevel level);
|
||||
|
||||
/*
|
||||
Direction getDirection(int x, int y);
|
||||
Direction stringToDirection(std::string s);
|
||||
GestureMode stringToGestureMode(std::string s);
|
||||
Action stringToAction(std::string s);
|
||||
*/
|
||||
LogLevel stringToLogLevel(std::string s);
|
||||
}
|
||||
|
||||
#endif //LOGID_UTIL_H
|
||||
Reference in New Issue
Block a user