aixlog
aixlog copied to clipboard
Header-only C++ logging library
I'm using aixlog in a project with a big amount of files and functions useful to perform various calculations which will be recycled by multiple binaries. Not all these binaries...
To leverage modern cmake features provide an installable interface target. If deployed like this aixlog can be used with the following statements in a CMakeLists.txt file ` find_package(aixlog) target_link_libraries (MyTarget...
` int i[2] = { 0,1 }; string t[2] = { R"(E:\product\qqm\cv_pro\log\t1.log)",R"(E:\product\qqm\cv_pro\log\t2.log)" }; thread t1(&xxxx, i[0], t[0].c_str()); thread t2(&xxxx, i[1], t[1].c_str()); t1.join(); t2.join(); system("pause"); ` i want to use it...
Is there some way for reading and setting the [`std::ios_base::flags`](https://en.cppreference.com/w/cpp/io/ios_base/flags) for `LOG(...)`? It would be useful e.g. for temporary setting scientific format ([`std::scientific`](https://en.cppreference.com/w/cpp/io/manip/fixed)).
error D:/software/x86_64-14.2.0-release-posix-seh-ucrt-rt_v12-rev0/mingw64/lib/gcc/x86_64-w64-mingw32/14.2.0/include/c++/bits/std_thread.h:339:26: error: no match for 'operator==' (operand types are 'std::thread::native_handle_type' and 'std::thread::native_handle_type') 339 | return __x._M_thread == __y._M_thread; | ~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~ | | | | | std::thread::native_handle_type |...