blob: 16ee0b92f65c83ecc30de0c5ca8cf97cc99c070a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "backend_creator.h"
class TLogBackendCreatorUninitialized : public ILogBackendCreator {
public:
void InitCustom(const TString& type, ELogPriority priority, bool threaded);
virtual bool Init(const IInitContext& ctx) override;
virtual void ToJson(NJson::TJsonValue& value) const override;
static TFactory::TRegistrator<TLogBackendCreatorUninitialized> Registrar;
private:
virtual THolder<TLogBackend> DoCreateLogBackend() const override;
THolder<ILogBackendCreator> Slave;
};
|