tt4g

Results 185 comments of tt4g
trafficstars

It is not a spdlog problem because the header file [spdlog/fmt/chrono.h](https://github.com/gabime/spdlog/blob/v1.10.0/include/spdlog/fmt/chrono.h) is missing from the include path. Please check the include path of your project. TIP: sometimes different versions of...

No. If `throw` from sink via `spdlo::logger` API, the exception will be `catch` inside spdlog. See Wiki: https://github.com/gabime/spdlog/wiki/Error-handling

`spdlog::cfg::load_env_levels()` only changes the log levels of already created loggers. And this API stores the log level set for each logger name in spdlog global registry. To apply the log...

> this point is missing in the doc? Probably yes. It is by historical design that changes made in spdlog's global API are managed in spdlog global registry. The fact...

There is a `PQescapeString()` function that does not require a connection, but is deprecated by PostgreSQL. As noted in the documentation (https://www.postgresql.org/docs/14/libpq-exec.html), this function does not adjust its behavior according...

> It looks like the `include/spdlog/tweakme.h` file should be automatically generated by CMake depending on the build configuration. CMake shouldn't generate `tweakme.h`, what makes you think it does?

Sorry. I am not a native speaker so I misunderstood the meaning. spdlog was initially a header-only library. The option to build as a shared or static library was added...

`spdlog::spdlog_header_only` target is added with or without the `SPDLOG_BUILD_SHARED` flag. When installed by CMake, spdlog can be either header-only and static/shared library.

If this is considered a major change, it would make sense to automatically generate a configuration file from v2. I personally think it is better to keep the style of...

If a macro was defined when the library was built, CMake will define the same macro for the application to be linked. If the same macro is also defined in...