spdlog_setup
spdlog_setup copied to clipboard
spdlog setup initialization via file configuration for convenience.
Hello. It seems that different loggers cannot have different patterns anymore (they could previously, but not in the present version of the code, I updated yesterday after a few months)....
Hi @guangie88 , Is it at all possible to fetch environment variable directly in the TOML file other than the tag-based approach?
Thanks for fixing the problems with 1.y.z. Your changes were much better than mine! In this PR I added a config setting for the rotate_on_open argument to the spdlog rotating...
https://github.com/pantor/inja looks good.
Somewhat related PR and issue: #21, #22 If `spdlog_setup` was installed with its `spdlog` found using `find_package` (i.e. no submodule `spdlog`), creating a dummy set-up to `find_package(spdlog_setup)` works perfectly after...
Add pass and fail individual pattern, logger, sink string content parsing.
If a project already uses one of the deps (especially if it’s within the same cmake build), it would nice to be able to tell spdlog_setup to use them.
Depending on the compiler `numeric_limits` may or may not be available. Including `limits` explicitly works for any compiler
`const auto thread_pools_map = setup_thread_pools(config); // set up loggers, setting the respective sinks and patterns setup_loggers(config, sinks_map, patterns_map, thread_pools_map);` thread_pools_map has contain std::shared_ptr, out of scope, thread_pool will be released,...
setup below logger with async type failed with exception. Possibly because we create a static logger inited before global SYNC_MAP (which is empty according to debugger) ``` [[logger]] name =...