KDSPDSetup
Small library to initialize spdlog loggers from a toml configuration file.
|
#include <unordered_map>
#include <map>
#include <vector>
#include <spdlog/async.h>
#include <spdlog/spdlog.h>
#include <spdlog/async_logger.h>
#include <spdlog/pattern_formatter.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/sinks/daily_file_sink.h>
#include <spdlog/sinks/null_sink.h>
#include <spdlog/sinks/rotating_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/sinks/stdout_sinks.h>
#include <toml.hpp>
#include <string>
Go to the source code of this file.
Namespaces | |
KDSPDSetup | |
The only public-facing namespace in the library. | |
Functions | |
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. More... | |