6 #ifndef KAGOME_API_INTERNAL_REQUEST_SETLOGLEVEL 7 #define KAGOME_API_INTERNAL_REQUEST_SETLOGLEVEL 19 outcome::result<Return>
execute()
override {
24 getParam<1>().has_value() ? getParam<1>().value() : getParam<0>();
26 return api_->setLogLevel(group, level);
30 std::shared_ptr<InternalApi>
api_;
35 #endif // KAGOME_API_INTERNAL_REQUEST_SETLOGLEVEL std::shared_ptr< InternalApi > api_
static const std::string defaultGroupName("kagome")
outcome::result< Return > execute() override
SetLogLevel(std::shared_ptr< InternalApi > &api)