fmtlog icon indicating copy to clipboard operation
fmtlog copied to clipboard

fmtlog is a performant fmtlib-style logging library with latency in nanoseconds.

Results 26 fmtlog issues
Sort by recently updated
recently updated
newest added

错误 C2955 “fmt::v8::basic_format_args”: 使用 类 模板 需要 模板 参数列表 错误 C2955 “fmt::v8::basic_format_args”: 使用 类 模板 需要 模板 参数列表 错误 C2661 “fmtlogT::vformat_to”: 没有重载函数接受 2 个参数

Please test the function in the test as follows, just increasing the RECORDS variable to 1000000. ``` void runBenchmark() { const int RECORDS = 1000000; fmtlog::setLogFile("./log", false); fmtlog::setLogCB(nullptr, fmtlog::WRN); std::chrono::high_resolution_clock::time_point...

Pulled "main" today and included in a C++ program which I am compiling on macOS. I had 2 issues, the first is as follows: ``` fmtlog/fmtlog.h:101:28: error: expected ';' at...

Hi, I am trying to embed library in my C++ project as a submodule. It also brings Nanolog and spdlog as its own submodule. I believe we can avoid that...

So I believe this PR fixes the issues related to building with Android NDK. NDK Version: `23.1.7779620` CMake version: `3.22.1` Build command: ``` BUILD_DIR=${BUILD_DIR:-.build} ANDROID_NDK_CMAKE="-DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_API=24 -DANDROID_PLATFORM=24 -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DCMAKE_ANDROID_NDK=$ANDROID_NDK_ROOT...

如果没理解错的话,目前似乎只支持同一时间内只输出到同一个日志文件中?能否考虑下支持分门别类输出日志内容到不同的日志文件里。在打日志时增加一个logger的指定(如不指定就用默认,以保持和现在行为一致)

I see that the SPSCVarQueueOPT used in the library does not use atomic while pushing and poping. Does this guarantee thread safety?

之前用nanolog,现在发现fmtlog更友好,想从类似LOG_INFO("%s %f",string, double)这种老的代码切过来。

It is not that uncommon for developers to miss a "{}" in for format string, which caused format_error exception at runtime. The malformed line logging code may crash the entire...