diff --git a/CMakeLists.txt b/CMakeLists.txt index 85d8510..984ed5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.20.13) +set(BLT_VERSION 0.20.14) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/logging.h b/include/blt/std/logging.h index ad1bdd5..e68c71a 100644 --- a/include/blt/std/logging.h +++ b/include/blt/std/logging.h @@ -632,8 +632,9 @@ namespace blt::logging { void log_stream_internal(const std::string& str, const logger& logger) { auto& s = loggingStreamLines[std::this_thread::get_id()][logger.level]; - s += str; +// s += str; for (char c : str){ + s += c; if (c == '\n'){ log(s, logger.level, logger.file, logger.line); s = "";