diff options
author | vaxerski <[email protected]> | 2022-03-17 15:53:45 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-03-17 16:19:10 +0100 |
commit | cf51ab71a25cbb60ebcf13edd4b7413c23264128 (patch) | |
tree | 18b649470346c8815a156b5599ee7be1c4135a79 /src/debug/Log.cpp | |
parent | 52090853dafb75dd99969a0cecdd291c109210f8 (diff) | |
download | Hyprland-cf51ab71a25cbb60ebcf13edd4b7413c23264128.tar.gz Hyprland-cf51ab71a25cbb60ebcf13edd4b7413c23264128.zip |
input basics
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 65ba67c4..0acecb04 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -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); } |