blob: 7ec0cef67be960e8a1df5cce84735c0ee6840b29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "backend_creator.h"
#include <util/generic/vector.h>
class TCompositeBackendCreator : public TLogBackendCreatorBase {
public:
TCompositeBackendCreator();
virtual bool Init(const IInitContext& ctx) override;
static TFactory::TRegistrator<TCompositeBackendCreator> Registrar;
protected:
virtual void DoToJson(NJson::TJsonValue& value) const override;
private:
virtual THolder<TLogBackend> DoCreateLogBackend() const override;
TVector<THolder<ILogBackendCreator>> Children;
};
|