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