KDSPDSetup
Small library to initialize spdlog loggers from a toml configuration file.
|
The only public-facing namespace in the library. More...
Namespaces | |
details | |
This namespace contains implementation details and helpers used by functions in KDSPDSetup::setup. This includes lookup for sink types and spdlog enums, maps to contain named sinks, patterns, and thread pools (to be used when constructing loggers), and functions that actually construct sink pointers of specific types. | |
setup | |
This namespace contains the functions directly called by KDSPDSetup::setupFrom, along with helpers called by those functions. The file which contains the definitions for members of KDSPDSetup::setup, setup.h, is included in the implementation file kdspdsetup.cpp The functions defined in this namespace make use of the members of namespace KDSPDSetup::details, defined in details.h. | |
Functions | |
void | setupFrom (std::string const &file) |
This function performs all setup needed to start logging. It should be the only callable part of the library. More... | |
The only public-facing namespace in the library.
void KDSPDSetup::setupFrom | ( | std::string const & | file | ) |
This function performs all setup needed to start logging. It should be the only callable part of the library.
file | The toml configuration file to read from. |
Definition at line 16 of file kdspdsetup.cpp.