fix laptop
parent
39fd5a73d6
commit
b5ea7a1e15
|
@ -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)
|
||||
|
|
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue