#include "yconf.h" TLogBackendCreatorInitContextYConf::TLogBackendCreatorInitContextYConf(const TYandexConfig::Section& section) : Section(section) {} bool TLogBackendCreatorInitContextYConf::GetValue(TStringBuf name, TString& var) const { return Section.GetDirectives().GetValue(name, var); } TVector> TLogBackendCreatorInitContextYConf::GetChildren(TStringBuf name) const { TVector> result; auto children = Section.GetAllChildren(); for (auto range = children.equal_range(TCiString(name)); range.first != range.second; ++range.first) { result.emplace_back(MakeHolder(*range.first->second)); } return result; }