fmtlog
fmtlog copied to clipboard
fmtlog is a performant fmtlib-style logging library with latency in nanoseconds.
This fixes https://github.com/MengRao/fmtlog/issues/68
When using the NVIDIA compiler nvcc, the fmtlog library has some warnings. First warning: `fmtlog/fmtlog-inl.h(71): warning #170-D: pointer points outside of underlying object case 18: *(uint16_t*)(s + 16) = *(uint16_t*)(digit_pairs...
I am using vcpkg to manage pkg dependencies. It's a burden to mantain 3rd part pkg compilation. So hope it can be updated to vcpkg repo.
Hi! I succesfuly built fmtlog with CMake on a Windows 10 box, with CMake 3.25.0 and Visual Studio 2019. Targets fmtlog-static.lib and fmtlog-shared.dll are generated. Tests targets enc_dec_test.exe, log_test.exe, multithread_test.exe...
while(1){ FMTLOG(fmtlog::INF, "The answer is {}.", 42); fmtlog::setHeaderPattern("[{HMSF}][{s}][{l}][{t}]:"); fmtlog::setLogFile(logName); fmtlog::setLogLevel(levelEnum); fmtlog::poll(); sleep(10) }
Add color support.