mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
input basics
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "../defines.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
void Debug::log(LogLevel level, const char* fmt, ...) {
|
||||
va_list args;
|
||||
@@ -37,5 +38,8 @@ void Debug::log(LogLevel level, const char* fmt, ...) {
|
||||
|
||||
ofs.close();
|
||||
|
||||
// log it to the stdout too.
|
||||
std::cout << buf << "\n";
|
||||
|
||||
va_end(args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user