diff options
Diffstat (limited to 'src/debug/Log.cpp')
| -rw-r--r-- | src/debug/Log.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp index 367cf8ca..a341f4b4 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -12,6 +12,10 @@ void Debug::init(std::string IS) { logFile = "/tmp/hypr/" + IS + "/hyprland.log"; } +void Debug::wlrLog(wlr_log_importance level, const char* fmt, va_list args) { + Debug::log(NONE, std::string("[wlr] " + std::string(fmt)).c_str(), args); +} + void Debug::log(LogLevel level, const char* fmt, ...) { if (disableLogs && *disableLogs) |
