diff options
Diffstat (limited to 'GcodeProcessorLib/logger.cpp')
-rw-r--r-- | GcodeProcessorLib/logger.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GcodeProcessorLib/logger.cpp b/GcodeProcessorLib/logger.cpp index a556b3f..4af28d6 100644 --- a/GcodeProcessorLib/logger.cpp +++ b/GcodeProcessorLib/logger.cpp @@ -142,8 +142,9 @@ void logger::log(const int logger_type, const int log_level, const std::string& // write the log if (is_exception) - std::cerr << output << "\n"; + std::cerr << output << std::endl; else - std::cout << output << "\n"; + std::cout << output << std::endl; + std::cout.flush(); } |