Kagome
Polkadot Runtime Engine in C++17
configurator.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_LOG_CONFIGURATOR
7 #define KAGOME_LOG_CONFIGURATOR
8 
9 #include <boost/filesystem.hpp>
10 #include <soralog/impl/configurator_from_yaml.hpp>
11 
12 namespace kagome::log {
13 
14  class Configurator : public soralog::ConfiguratorFromYAML {
15  using PrevConfigurator = soralog::Configurator;
16 
17  public:
18  Configurator(std::shared_ptr<PrevConfigurator> previous);
19 
20  explicit Configurator(std::shared_ptr<PrevConfigurator> previous,
21  std::string config);
22 
23  explicit Configurator(std::shared_ptr<PrevConfigurator> previous,
24  boost::filesystem::path path);
25  };
26 
27 } // namespace kagome::log
28 
29 #endif // KAGOME_LOG_CONFIGURATOR
soralog::Configurator PrevConfigurator
Configurator(std::shared_ptr< PrevConfigurator > previous)