fix laptop
parent
39fd5a73d6
commit
b5ea7a1e15
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
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_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -632,8 +632,9 @@ namespace blt::logging {
|
||||||
|
|
||||||
void log_stream_internal(const std::string& str, const logger& logger) {
|
void log_stream_internal(const std::string& str, const logger& logger) {
|
||||||
auto& s = loggingStreamLines[std::this_thread::get_id()][logger.level];
|
auto& s = loggingStreamLines[std::this_thread::get_id()][logger.level];
|
||||||
s += str;
|
// s += str;
|
||||||
for (char c : str){
|
for (char c : str){
|
||||||
|
s += c;
|
||||||
if (c == '\n'){
|
if (c == '\n'){
|
||||||
log(s, logger.level, logger.file, logger.line);
|
log(s, logger.level, logger.file, logger.line);
|
||||||
s = "";
|
s = "";
|
||||||
|
|
Loading…
Reference in New Issue