Base Config class.
More...
#include <Config.hh>
|
static std::shared_ptr< spdlog::logger > | getConsoleOutput () |
| Get console output.
|
|
static void | setConsoleLevel (spdlog::level::level_enum level) |
| Sets console log level.
|
|
|
YAML::Node | mConfig |
| YAML Configuration.
|
|
std::map< std::string, YAML::Node > | mFilter {} |
| Filter list.
|
|
|
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
|
|
static std::shared_ptr< spdlog::logger > | mspConsoleLogger = spdlog::stdout_color_mt("salsa") |
| Pointer to spd logger.
|
|
◆ Config()
Salsa::Config::Config |
( |
| ) |
|
Constructor
Definition at line 4 of file Config.cc.
◆ ~Config()
Salsa::Config::~Config |
( |
| ) |
|
|
virtual |
◆ filter()
void Salsa::Config::filter |
( |
std::string const & |
f | ) |
|
◆ findAndReplaceAll()
void Salsa::Config::findAndReplaceAll |
( |
std::string & |
data, |
|
|
std::string |
toSearch, |
|
|
std::string |
replaceStr |
|
) |
| |
|
private |
◆ load()
bool Salsa::Config::load |
( |
std::string |
file | ) |
|
|
virtual |
◆ print()
void Salsa::Config::print |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: