log: log wlr logs to stdout

This commit is contained in:
vaxerski 2023-03-24 19:38:09 +00:00
parent 70e3cb8151
commit cc2c270dde

View File

@ -23,6 +23,9 @@ void Debug::wlrLog(wlr_log_importance level, const char* fmt, va_list args) {
ofs << "[wlr] " << output << "\n";
ofs.close();
if (!disableStdout)
std::cout << output << "\n";
}
void Debug::log(LogLevel level, const char* fmt, ...) {