config.h 479 B

1234567891011121314
  1. #pragma once
  2. #include <library/cpp/logger/backend_creator.h>
  3. #include <library/cpp/config/config.h>
  4. class TLogBackendCreatorInitContextConfig : public ILogBackendCreator::IInitContext {
  5. public:
  6. TLogBackendCreatorInitContextConfig(const NConfig::TConfig& config);
  7. virtual bool GetValue(TStringBuf name, TString& var) const override;
  8. virtual TVector<THolder<IInitContext>> GetChildren(TStringBuf name) const override;
  9. private:
  10. const NConfig::TConfig& Config;
  11. };