From b5ea7a1e1500dc695490c730dcedbc93dae3ba73 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 20 Sep 2024 12:49:24 -0400 Subject: [PATCH] fix laptop --- CMakeLists.txt | 2 +- include/blt/std/logging.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 = "";