Base ConfigZyre class.
More...
#include <ConfigZyre.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 | applyOptions (YAML::detail::iterator_value &src, YAML::Node &opt) |
|
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.
|
|
◆ ConfigZyre()
Salsa::ConfigZyre::ConfigZyre |
( |
| ) |
|
◆ ~ConfigZyre()
Salsa::ConfigZyre::~ConfigZyre |
( |
| ) |
|
|
virtual |
◆ apply()
◆ applyOptions()
void Salsa::ConfigZyre::applyOptions |
( |
YAML::detail::iterator_value & | src, |
|
|
YAML::Node & | opt ) |
|
private |
◆ filter()
void Salsa::Config::filter |
( |
std::string const & | f | ) |
|
|
inherited |
◆ findAndReplaceAll()
void Salsa::Config::findAndReplaceAll |
( |
std::string & | data, |
|
|
std::string | toSearch, |
|
|
std::string | replaceStr ) |
|
privateinherited |
◆ getConsoleOutput()
static std::shared_ptr< spdlog::logger > Salsa::Object::getConsoleOutput |
( |
| ) |
|
|
inlinestaticinherited |
◆ load()
bool Salsa::Config::load |
( |
std::string | file | ) |
|
|
virtualinherited |
◆ print()
void Salsa::Config::print |
( |
| ) |
const |
|
virtualinherited |
◆ setConsoleLevel()
static void Salsa::Object::setConsoleLevel |
( |
spdlog::level::level_enum | level | ) |
|
|
inlinestaticinherited |
◆ mConfig
YAML::Node Salsa::Config::mConfig |
|
protectedinherited |
◆ mFilter
std::map<std::string, YAML::Node> Salsa::Config::mFilter {} |
|
protectedinherited |
◆ mspConsoleLogger
std::shared_ptr< spdlog::logger > Salsa::Object::mspConsoleLogger = spdlog::stdout_color_mt("salsa") |
|
staticprivateinherited |
The documentation for this class was generated from the following files: