yconf.h 486 B

12345678910111213
  1. #pragma once
  2. #include <library/cpp/logger/backend_creator.h>
  3. #include <library/cpp/yconf/conf.h>
  4. class TLogBackendCreatorInitContextYConf: public ILogBackendCreator::IInitContext {
  5. public:
  6. TLogBackendCreatorInitContextYConf(const TYandexConfig::Section& section);
  7. virtual bool GetValue(TStringBuf name, TString& var) const override;
  8. virtual TVector<THolder<IInitContext>> GetChildren(TStringBuf name) const override;
  9. private:
  10. const TYandexConfig::Section& Section;
  11. };