Kagome
Polkadot Runtime Engine in C++17
internal_api.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_API_INTERNALAPI
7 #define KAGOME_API_INTERNALAPI
8 
9 #include <boost/variant.hpp>
10 
11 #include "common/buffer.hpp"
12 #include "outcome/outcome.hpp"
15 #include "primitives/common.hpp"
16 
17 namespace kagome::api {
18 
22  class InternalApi {
23  public:
24  virtual ~InternalApi() = default;
25 
26  virtual outcome::result<void> setLogLevel(const std::string &group,
27  const std::string &level) = 0;
28  };
29 
30 } // namespace kagome::api
31 
32 #endif // KAGOME_API_INTERNALAPI
virtual outcome::result< void > setLogLevel(const std::string &group, const std::string &level)=0
virtual ~InternalApi()=default